yerTaxes query
Returns the latest 10 DEX trades by token on BNB Chain, where currency smart contract is 0x003d…33d1, block time is 2025-10-16 and trade price in USD is above 0: block time, block number, transaction hash, from, to, currency name, currency symbol and 7 more fields.
What it returns
- block time
- block number
- transaction hash
- from
- to
- currency name
- currency symbol
- smart contract
- trade amount
- amount in USD
- price in USD
- buyer
- seller
- protocol name
Filters
- currency smart contract is 0x003d…33d1
- block time is 2025-10-16
- trade price in USD is above 0
- trade amount in USD is above 0
The query
query TokenOHLCPrice($network: evm_network, $token: String, $timestamp: DateTime) {
EVM(network: $network, dataset: combined) {
DEXTradeByTokens(
orderBy: {descending: Block_Time}
limit: {count: 10}
where: {
Trade: {
Currency: {SmartContract: {is: $token}}
PriceInUSD: {gt: 0}
AmountInUSD: {gt: "0"}
}
Block: {
Time: {is: $timestamp}
}
}
) {
Block {
Time
Number
}
Transaction {
Hash
From
To
}
Trade {
Currency {
Name
Symbol
SmartContract
}
Amount
AmountInUSD
PriceInUSD
Buyer
Seller
Dex {
ProtocolName
SmartContract
}
}
}
}
}
Variables
{
"network": "bsc",
"token": "0x003d87d02a2a01e9e8a20f507c83e15dd83a33d1",
"timestamp": "2025-10-16T04:47:53Z"
}
Similar queries
- bStocks 3am: QQQB 30-day DEX volume · BNB Chain · DEXTradeByTokens
- bStocks 3am: tokenized Tesla 30-day volume · BNB Chain · DEXTradeByTokens
- bsc token ohlcv · BNB Chain · DEXTradeByTokens
- optimized query to get pools data · Ethereum · DEXTradeByTokens
- KTI_primeiros_trades · BNB Chain · DEXTradeByTokens