top pools of a token
Returns 200 DEX trades by token on Base, where currency smart contract is 0xb695…ab07 and block time after 2026-02-15, sorted by USD, highest first: pool ID, smart contract, protocol name, protocol family, owner address, currency symbol, currency name and 9 more fields.
What it returns
- pool ID
- smart contract
- protocol name
- protocol family
- owner address
- currency symbol
- currency name
- fungible
- side currency symbol
- side currency name
- side smart contract
- price in USD
- trade price
- sum of trade amount in USD
- sum of trade amount
- count
Filters
- currency smart contract is 0xb695…ab07
- block time after 2026-02-15
The query
query tokenTrades($network: evm_network!, $token: String!, $time_10min_ago: DateTime!, $time_1h_ago: DateTime!, $time_3h_ago: DateTime!, $time_ago: DateTime!) {
EVM(network: $network) {
DEXTradeByTokens(
orderBy: {descendingByField: "usd"}
where: {TransactionStatus: {Success: true}, Trade: {Currency: {SmartContract: {is: $token}}}, Block: {Time: {after: $time_ago}}}
limit: {count: 200}
) {
Trade {
PoolId
Dex {
SmartContract
Pair {
SmartContract
}
ProtocolName
ProtocolFamily
OwnerAddress
}
Currency {
Symbol
Name
SmartContract
Fungible
}
Side {
Currency {
Symbol
Name
SmartContract
}
}
price_usd: PriceInUSD(maximum: Block_Number)
price_last: Price(maximum: Block_Number)
price_10min_ago: Price(
minimum: Block_Number
if: {Block: {Time: {after: $time_10min_ago}}}
)
price_1h_ago: Price(
minimum: Block_Number
if: {Block: {Time: {after: $time_1h_ago}}}
)
price_3h_ago: Price(
minimum: Block_Number
if: {Block: {Time: {after: $time_3h_ago}}}
)
}
usd: sum(of: Trade_AmountInUSD)
vol: sum(of: Trade_Amount)
count
}
}
}
Variables
{
"network": "base",
"token": "0xb695559b26bb2c9703ef1935c37aeae9526bab07",
"time_1h_ago": "2026-02-16T14:12:45Z",
"time_3h_ago": "2026-02-16T12:12:45Z",
"time_10min_ago": "2026-02-16T15:02:45Z",
"time_ago": "2026-02-15T15:12:45Z"
}
Similar queries
- Coinbase stock tokens: DEX trading on Base, Sep 5 to Oct 4 2026 · Base · DEXTradeByTokens
- Coinbase stock tokens: DEX trading on Base in August 2026 · Base · DEXTradeByTokens
- optimized query to get pools data · Ethereum · DEXTradeByTokens
- AfricaCryptoChainx · Ethereum · DEXTradeByTokens
- ATH of base token · Base · DEXTradeByTokens