latest liquidity of a Base 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: base, dataset: combined) archive full history combined archive + realtime in one result A
What it returns
- currency symbol
- has URI
- smart contract
- post balance
- post balance in USD
- token balance address
Filters
- token balance address is 0xd338…F0dE
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: base, 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/Base/
# For faster results try using indexed feilds in where and orderBy clause -
# https://docs.bitquery.io/docs/graphql/indexed-fields-reference/
{
EVM(network: base) {
TransactionBalances(
limit: {count: 2}
limitBy:{by:TokenBalance_Currency_SmartContract count:1}
orderBy: {descendingByField: "TokenBalance_PostBalanceInUSD"}
where: {TokenBalance: {Address: {is: "0xd33805985642Fa9338e1Fa150cA811406F96F0dE"}}}
) {
TokenBalance {
Currency {
Symbol
HasURI
SmartContract
}
PostBalance(maximum: Block_Time)
PostBalanceInUSD(maximum:Block_Time)
Address
}
}
}
}
Similar queries
- Get Token Total Supply and Market Cap · Base · TransactionBalances
- Get All Token Balances for an Address · Base · TransactionBalances
- latest token supply of all active tokens on base chain · Base · TransactionBalances
- native WETH transfer not tracked · Base · TransactionBalances
- tx swap v2 uniswap · Base · TransactionBalances