1 hour candle
Returns DEX trades by token on Base, where currency smart contract is 0x5533…0367, side currency smart contract is 0x, 0x4200…0006 or 2 more and block time since 2025-09-20, sorted by block time: block time, quantile of trade price in USD, average of trade price in USD and sum of trade side amount in USD.
What it returns
- block time
- quantile of trade price in USD
- average of trade price in USD
- sum of trade side amount in USD
Filters
- currency smart contract is 0x5533…0367
- side currency smart contract is 0x, 0x4200…0006 or 2 more
- block time since 2025-09-20
- block time till 2025-10-14
The query
query tradingView($network: evm_network, $dataset: dataset_arg_enum, $interval: Int, $from: DateTime, $to: DateTime, $token: String, $eth: String!, $weth: String!, $usdc: String!, $usdt: String!) {
EVM(network: $network, dataset: $dataset) {
DEXTradeByTokens(
orderBy: {ascendingByField: "Block_Time"}
where: {TransactionStatus: {Success: true}, Trade: {Side: {Currency: {SmartContract: {in: [$eth, $weth, $usdc, $usdt]}}}, Currency: {SmartContract: {is: $token}}, Success: true}, Block: {Time: {since: $from, till: $to}}}
) {
Block {
Time(interval: {count: $interval, in: hours})
}
min: quantile(of: Trade_PriceInUSD, level: 0.05)
max: quantile(of: Trade_PriceInUSD, level: 0.95)
close: average(of: Trade_PriceInUSD)
open: average(of: Trade_PriceInUSD)
volume: sum(of: Trade_Side_AmountInUSD)
}
}
}
Variables
{
"network": "base",
"token": "0x55337650856299363c496065c836b9c6e9de0367",
"eth": "0x",
"usdc": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"usdt": "0xfde4c96c8593536e31f229ea8f37b2ada2699bb2",
"weth": "0x4200000000000000000000000000000000000006",
"dataset": "archive",
"time_ago": "2025-10-11T07:18:03Z",
"local": "EVM",
"interval": 1,
"from": "2025-09-20T14:19:48Z",
"to": "2025-10-14T07:19:48Z"
}
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
- top pools of a token · Base · DEXTradeByTokens