Skip to main content
POST
cURL

Authorizations

x-api-key
string
header
required

Body

application/json

Request payload for querying balances.

timestamp
required

The current timestamp in milliseconds used for signature verification. Can be provided as a string or a number.

Pattern: ^[0-9]+$
user_address
string
required

The Solana wallet address of the user.

signature
string
required

Signature of the 'By signing, I hereby agree to Vanish's Terms of Service and agree to be bound by them (docs.vanish.trade/legal/TOS)

Details: read:{timestamp}' string signed using the user's wallet.

Response

A successful response containing the user's token balances.

token_address
string
required

The token address

balance
string<int64>
required

Token balance in the smallest unit (e.g., lamports for SOL).

program_id
string
required

Owner Program