latest liquidity of a EVM pool
Historical data This query uses the realtime dataset (the default), which holds only a recent window - hours to days depending on the cube. For older data add a dataset to the top-level element: EVM(network: eth, dataset: combined) archive full history combined archive + realtime in one result Ar
What it returns
- currency symbol
- has URI
- smart contract
- post balance
- post balance in USD
- token balance address
Filters
- token balance address is 0x5d4F…8c83
The query
# Historical data
# This query uses the realtime dataset (the default), which holds only a
# recent window - hours to days depending on the cube.
#
# For older data add a dataset to the top-level element:
#
# EVM(network: eth, dataset: combined)
#
# archive full history
# combined archive + realtime in one result
#
# Archive and combined need the historical data add-on:
# https://bitquery.io/pricing
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
# For more info on the endpoint visit -
# https://docs.bitquery.io/docs/blockchain/Ethereum/balances/transaction-
# balance-tracker/
# For faster results try using indexed feilds in where and orderBy clause -
# https://docs.bitquery.io/docs/graphql/indexed-fields-reference/
{
EVM(network: eth) {
TransactionBalances(
limit: {count: 2}
limitBy:{by:TokenBalance_Currency_SmartContract count:1}
orderBy: {descendingByField: "TokenBalance_PostBalanceInUSD"}
where: {TokenBalance: {Address: {is: "0x5d4F3C6fA16908609BAC31Ff148Bd002AA6b8c83"}}}
) {
TokenBalance {
Currency {
Symbol
HasURI
SmartContract
}
PostBalance(maximum: Block_Time)
PostBalanceInUSD(maximum:Block_Time)
Address
}
}
}
}
Similar queries
- latest token supply on USDT and USDC on ethereum chain · Ethereum · TransactionBalances
- Get Token Total Supply and Market Cap · Ethereum · TransactionBalances
- latest token supply of all active tokens on ETH chain · Ethereum · TransactionBalances
- Transaction balances · Ethereum · TransactionBalances
- All MEV Builders Tx Balance Tracker · Ethereum · TransactionBalances