✉️Sign and Verify Messages
Mintbase Wallet provides functionalities for signing and verifying messages. This documentation outlines the steps for using these features, including signing a message, verifying a message via the UI
Sign Message
The sign message functionality allows you to sign a message using your Mintbase Wallet. The signed message can then be used for various verification purposes.
Endpoint
Parameters
message
: The message you want to sign.callbackUrl
: The URL to which the signed message will be sent.nonce
: A unique identifier to prevent replay attacks.
Example
Verify Message
The verify message functionality allows you to verify a signed message using the UI or API. Verification ensures that the message was signed by the rightful owner of the specified account.
Verify via UI
Endpoint
Parameters
accountId
: The account ID of the signer.publicKey
: The public key of the signer in base58 format.signature
: The signature of the signed message in base64 format.message
: The original message that was signed.nonce
: A unique identifier used during signing.recipient
: The intended recipient (e.g.,mainnet
).callbackUrl
: The URL to which the verification result will be sent.
Example
Verify Message via API Endpoint
Endpoint
Parameters
accountId
: The account ID of the signer.publicKey
: The public key of the signer in base58 format.signature
: The signature of the signed message in base64 format.message
: The original message that was signed.nonce
: A unique identifier used during signing.recipient
: The intended recipient (e.g.,mainnet
).callbackUrl
: The URL to which the verification result will be sent.
Example
Last updated