via API
Hyperion using Graphql API from Alcove
Get Pool Stat
Return stat info about pool / pools (without param $poolId
)
query MyQuery($poolId: String = "") {
api {
getPoolStat(poolId: $poolId) {
dailyVolumeUSD // 24 hour volume in USD
farmAPR // reward APR, %
feeAPR // fee APR, %
feesUSD // fee in USD
id // pool id
tvlUSD // TVL in USD
pool {
currentTick // current tick
activeLpAmount // active lp amount
feeRate // fee rata, 100 = 0.01%
sqrtPrice // current sqrt price
token1 // token1 FA address
token2 // token2 FA address
}
}
}
}
The White Paper is for informational purposes only. Nothing in the White Paper constitutes legal, financial or tax advice. Its content may be updated from time to time without express notice. You should seek your own professional advice before engaging in any activity in connection with Hyperion. See Legal Disclaimer.
Last updated