dextrades of token per day

Returns the latest 20000 DEX trades on BNB Chain, where block time since 2026-01-19 and block time till 2026-01-20: block time, transaction hash, buy amount, buy smart contract, buy currency symbol, sell amount, sell smart contract and 3 more fields.

By Akshat · saved 23 January 2026 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query ($token: String!, $from: DateTime, $till: DateTime, $limit: Int!, $offset: Int!) {
  EVM(dataset: archive, network: bsc) {
    DEXTrades(
      limit: {count: $limit, offset: $offset}
      orderBy: {descending: Block_Time}
      where: {TransactionStatus: {Success: true}, Block: {Time: {since: $from, till: $till}}, any: [{Trade: {Buy: {Currency: {SmartContract: {is: $token}}}}}, {Trade: {Sell: {Currency: {SmartContract: {is: $token}}}}}]}
    ) {
      Block {
        Time
      }
      Transaction {
        Hash
      }
      Trade {
        Buy {
          Amount
          Currency {
            SmartContract
            Symbol
          }
        }
        Sell {
          Amount
          Currency {
            SmartContract
            Symbol
          }
        }
        Dex {
          SmartContract
          ProtocolName
        }
      }
    }
  }
}

Variables

{
  "token": "0xb4897d08aa882c61f871877985ea303cb5d84444",
  "from": "2026-01-19T00:00:00Z",
  "till": "2026-01-20T00:00:00Z",
  "limit": 20000,
  "offset": 0
}

Similar queries