Submit the wallet signature to verify the challenge and receive a session token (JWT).
No authentication required for this endpoint.
The wallet address that signed the challenge
Chain type of the wallet. One of: evm, solana, movement
The wallet’s signature of the challenge message
The nonce from the challenge response
curl -X POST https://api.stableyard.fi/v2/auth/verify \
-H "Content-Type: application/json" \
-d '{
"wallet": "0x742d35Cc6634C0532925a3b844Bc9e7595f4fA9",
"chainType": "evm",
"signature": "0xabc123...",
"nonce": "4f7d1a8c2b3e9d10"
}'
{
"token": "sy_auth_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.example",
"accountId": "acc_1234567890",
"expiresAt": 1773915630,
"refreshBefore": 1773912030,
"isNewAccount": false
}
Session token to use in subsequent requests. Prefix: sy_auth_
The authenticated account ID
Unix timestamp when the token expires
Unix timestamp — refresh the token before this time
Whether this authentication created a new account