Sign Messages
Bitte 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.
Last updated
Bitte 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.
Last updated
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.
URL:
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.
Always make sure to encode the parameters when redirecting
You can generate the nonce using this code snippet
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.
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
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
URL:
URL: