Skip to main content
POST
/
check-token-ownership
Check token ownership
curl --request POST \
  --url https://yppncslmsswqydhhgygz.supabase.co/functions/v1/check-token-ownership \
  --header 'Content-Type: application/json' \
  --data '{
  "token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "user_address": "<string>",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "success": true,
  "is_holder": true,
  "balance": 123,
  "cached": true
}

Body

application/json
token_id
string<uuid>
required
user_address
string
required
user_id
string<uuid>

Response

Successful response

success
boolean
required
is_holder
boolean
required
balance
number
required
cached
boolean