Amount min max filtering

Returns one DEX trade by token on BNB Chain, where currency smart contract is 0x5136…560e, side type is buy and block time since 2024-11-14, sorted by block time: block time, block number, from, transaction hash, side type, side amount and side amount in USD.

By LimitusDev · saved 28 June 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: bsc) {
    DEXTradeByTokens(
      orderBy: {ascending: Block_Time}
      limit: {count: 1}
      where: {Trade: {Currency: {SmartContract: {is: "0x51363F073b1E4920fdA7AA9E9d84BA97EdE1560e"}}, 
        Side: {Type: {is: buy}, AmountInUSD: {ge: "0.1", le:"10000"}}}, 
        Block: {Time: {since: "2024-11-14T16:57:32Z", till: "2024-11-14T17:57:32Z"}}}
    ) {
      Block {
        Time
        Number
      }
      Transaction {
        From
        Hash
      }
      Trade {
        Side {
          Type
          Amount
          AmountInUSD
        }
      }
    }
  }
}

Similar queries