Skip to main content

Token Liquidities

Queries the total amount of liquidity available for tokens.

query Token_liquidities($page: Int!, $limit: Int!) {
token {
token_liquidities(page: $page, limit: $limit) {
token
total_liquidity
total_volume
}
}
}

Example

curl --request POST \
    --header 'content-type: application/json' \
    --url 'https://api.euclidprotocol.com/graphql' \
    --data '{"query":"query Token_liquidities($page: Int!, $limit: Int!) {\n  token {\n    token_liquidities(page: $page, limit: $limit) {\n      token\n      total_liquidity\n      total_volume\n    }\n  }\n}","variables":{"page":1,"limit":5}}'

Open in Playground

Arguments

ArgumentTypeDescription
pageInt!The page number to start from (pagination).
limitInt!The number of items to return per page.

Return Fields

FieldTypeDescription
tokenStringThe token symbol or identifier.
total_liquidityStringThe total liquidity of the token.
total_volumeStringThe total trading volume for the token.