cURL
curl --request POST \ --url https://alerts-api.dial.to/v2/auth/solana/verify \ --header 'Content-Type: application/json' \ --data ' { "message": "Sign this message to authenticate. Nonce: 1638471298347", "signature": "2VYoXjcwKE..." } '
{ "token": "<string>", "subscriber": { "walletAddress": "6CxnSjtasq5Tzwb4b93AhLofXtiDvMpQ2vTkWdSZqTH7" } }
Complete Solana wallet authentication by verifying signed message and receive JWT token for session access
Client Key used to uniquely identify the client
"dk_gyh2eqzfkc4mhp5eiahnndkz"
Message signed by the user, provided by /prepare endpoint
"Sign this message to authenticate. Nonce: 1638471298347"
Base58-encoded signature of the message
"2VYoXjcwKE..."
Authentication successful, JWT token returned
1
Show child attributes
User wallet address
"6CxnSjtasq5Tzwb4b93AhLofXtiDvMpQ2vTkWdSZqTH7"
Was this page helpful?