logo
OpenapiAuth

Get a SIWE nonce

API Docs with browser client
GET
/siwe/nonce

Generate and store a replay-protected nonce for a wallet address before signing a SIWE message.

Authorization

headerx-api-key<token>

Query Parameters

signerAddress*string

Wallet address that will sign the SIWE message.

Response Body

OK

application/json
  1. response

Successful SIWE nonce response.

valid*unknown

Indicates the nonce was generated.

nonce*string

Generated nonce to embed in the SIWE message.

Length1 <= length
Example Request
curl -X GET 'https://example.com/v4/siwe/nonce?signerAddress=string'
Example Response
{  "valid": true,  "nonce": "string"}