cURL
curl --request POST \ --url https://core-api-dev.vanish.trade/account/balances \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "timestamp": "<string>", "user_address": "<string>", "signature": "<string>" }'
[ { "token_address": "<string>", "balance": "<string>", "program_id": "<string>" } ]
Retrieves the user’s token balances.
Request payload for querying balances.
The current timestamp in milliseconds used for signature verification. Can be provided as a string or a number.
The Solana wallet address of the user.
Signature of the 'read:{timestamp}' string signed using the user's wallet.
A successful response containing the user's token balances.
The token address
Token balance in the smallest unit (e.g., lamports for SOL).
Owner Program