Skip to main content
POST
cURL

Authorizations

x-api-key
string
header
required

Body

application/json

Request payload for querying point stats.

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 point stats.

total
string<int64>
required

Total points earned by the user

by_ref
string<int64>
required

Points earned from referrals

last_7days
string<int64>
required

Points earned in the last 7 days

multiplier
string<float>
required

The current points multiplier