v1
latestOpenAPI 3.1.02026-07-2619047.9 KBChallenge
Returns a challenge string that the wallet must sign. The signature is then submitted to /v1/spl/login in exchange for a bearer token used to read private data.
get/v1/spl/challenge
Query parameters
pubkeystring required
Example:Bt9oNR5cCtnfuMmXgWELd6q5i974PdEMQDUE55nBC57L
The public key of the wallet that will read private data.
Optional. Use mainnet for BASE_RPC_URL and EPHEMERAL_RPC_URL, devnet for BASE_DEVNET_RPC_URL and EPHEMERAL_DEVNET_RPC_URL, or provide a custom http(s) RPC URL to override the base RPC while keeping the configured ephemeral RPC.
mockboolean
Optional. When true, the API uses a mock challenge for testing. Defaults to false.
Response
Challenge string