Verify message
ArConnect Injected API verifyMessage() function
This function allows verifying a cryptographic signature created by ArConnect.
Argument | Type | Description |
---|---|---|
|
| The data to verify the signature for |
|
| The signature to validate |
|
| Arweave wallet |
| Configuration for the signature |
Note: This function requires the SIGNATURE
permission.
Note: The publicKey
argument is optional, if it is not provided, the extension will use the currently selected wallet's public key. You might only need this if the message to be verified was not made by the connected user.
Note: The options
argument is optional, if it is not provided, the extension will use the default signature options (default hash algorithm) to sign the data.
Example usage
Last updated