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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
tokenId
string<uuid>
required

Response

Successful response

success
enum<boolean>
required
Available options:
true,
false
pool_data
unknown