v1

latestOpenAPI 3.0.32026-07-22693462.7 KB
Token Management

Request authentication token with signature

Signs a message with format {signText}{time} where signText is "Sign in to raydium.io: " and time is the current Unix timestamp in seconds. The wallet must sign this message and submit the signature to receive a JWT token.

post/request-token

Request body

timeinteger required

Current Unix timestamp in seconds when message was signed

signaturestring required

Ed25519 signature of the message (base58 encoded)

walletstring required

Solana wallet public key

Example request

{
  "time": 1704067200,
  "signature": "3veiKZ6IHo7jrz9XdwLd8KvvP2pinCtjJXWe6MGNDUjT...",
  "wallet": "4k3Dyjzvzp8eMZWUXbBCjEvwSvsrFjJqkDsyU5F5oV4"
}

Response

Token issued successfully

idstring
successboolean

Example response

{
  "success": true
}