Skip to main content

Volume

Queries the total and daily volume of transactions and swaps in dollars (USD) on the Eulcid layer.

query Pool {
pool {
volume {
volume_24hours
total_liquidity
total_volume
volume_breakdown_24hours {
pair
volume
}
}
}
}

Example​

curl --request POST \
    --header 'content-type: application/json' \
    --url 'https://api.euclidprotocol.com/graphql' \
    --data '{"query":"query Pool {\n  pool {\n    volume {\n      volume_24hours\n      total_liquidity\n      total_volume\n      volume_breakdown_24hours {\n        pair\n        volume\n      }\n    }\n  }\n}"}'

Open in Playground

Return Fields​

FieldTypeDescription
total_volumeStringThe total volume in USD.
volume_24hoursStringThe total volume over the past 24 hours in USD.
total_liquidityStringThe total liquidity in USD.
volume_breakdown_24hoursbreakdownA breakdown of the volume by token pairs over the past 24 hours.

Breakdown​

FieldTypeDescription
pairStringThe token pair being traded.
volumeStringThe volume for the token pair over the past 24 hours in USD.