File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -585,11 +585,14 @@ ___
585585
586586▸ ` Const ` ** verifySignMsg** (` msg ` : [ * SignMsg* ] ( ../interfaces/lumtypes.signmsg.md ) ): * Promise* <boolean\>
587587
588+ Verify that a message is signed by the provided publicKey
589+ Will also verify that the address is indeed derivated by the provided publicKey
590+
588591#### Parameters:
589592
590- Name | Type |
591- :------ | :------ |
592- ` msg ` | [ * SignMsg* ] ( ../interfaces/lumtypes.signmsg.md ) |
593+ Name | Type | Description |
594+ :------ | :------ | :------ |
595+ ` msg ` | [ * SignMsg* ] ( ../interfaces/lumtypes.signmsg.md ) | Message to verify such as generated by the LumWallet.signMessage method |
593596
594597** Returns:** * Promise* <boolean\>
595598
@@ -599,13 +602,13 @@ ___
599602
600603▸ ` Const ` ** verifySignature** (` signature ` : * Uint8Array* , ` signedBytes ` : * Uint8Array* , ` publicKey ` : * Uint8Array* ): * Promise* <boolean\>
601604
602- Verify that a transaction signature is valid
605+ Verify that a signature is valid
603606
604607#### Parameters:
605608
606609Name | Type | Description |
607610:------ | :------ | :------ |
608- ` signature ` | * Uint8Array* | transaction signature (as generated by the generateSignature function) |
611+ ` signature ` | * Uint8Array* | signature (as generated by the generateSignature function) |
609612` signedBytes ` | * Uint8Array* | signed bytes (as generated by the generateSignDocBytes function or by the signMessage function) |
610613` publicKey ` | * Uint8Array* | public key of the signing key pair (secp256k1) |
611614
You can’t perform that action at this time.
0 commit comments