Skip to main content

Generate a message (nonce)

Generates a unique message (nonce) to be signed by the user's wallet, which is used for verifying wallet ownership.

This process helps ensure that the user attempting to connect the wallet is indeed the owner of the specified wallet address. The generated message (nonce) is returned and should be signed using the user's wallet. The signature will then be submitted to the /connect endpoint for verification.

Query Parameters
walletAddress string REQUIRED

The wallet address for which to generate the message.

Example: 0x742d35Cc6634C0532925a3b844Bc454e4438f44e
Responses
200

A @VerificationNonce object containing the generated message (nonce).

Schema OPTIONAL
messageToSign string

The standard Nota Wallet message combined with the generated nonce to sign

400

Invalid input data.

Schema OPTIONAL
code double

The HTTP status code representing the result of the API call

errorCode

A more specific, domain-specific error code (use the ErrorCodes enum)

message string

A human-readable message describing the error

validationIssues object OPTIONAL
401

Unauthorized, missing or invalid access token

GetNonce
GET /wallets/connect/nonce
walletAddress — query
https://nota-api.pangealabs.xyz
curl -L 'https://nota-api.pangealabs.xyz/wallets/connect/nonce' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer '