Skip to main content
POST
/
get-user-balance
Get user token balance
curl --request POST \
  --url https://yppncslmsswqydhhgygz.supabase.co/functions/v1/get-user-balance \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "chain_id": 123
}'
{
  "success": true,
  "balance": "<string>"
}

Authorizations

Authorization
string
header
required

JWT token or API key

Body

application/json
token_id
string<uuid>
chain_id
integer

Response

Successful response

success
boolean
required
balance
string
required