evm ml trades queery

Returns the latest 25000 DEX trades on BNB Chain, where block time since 2026-02-04 and block time till 2026-02-05: block time, block number, burnt, burnt in USD, effective gas price, effective gas price in USD, gas refund and 34 more fields.

By Divyasshree · saved 5 February 2026 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: realtime, network: bsc) {
    DEXTrades(
      where: {any: [{Trade: {Buy: {Currency: {SmartContract: {in: ["0x1AeCab957bAD4C6e36DD29C3d3BB470c4C29768A"]}}}}}, {Trade: {Sell: {Currency: {SmartContract: {in: ["0x1AeCab957bAD4C6e36DD29C3d3BB470c4C29768A"]}}}}}], Block: {Time: {since: "2026-02-04T21:00:00Z", till: "2026-02-05T00:00:00Z"}}}
      orderBy: {descending: Block_Time}
      limit: {count: 25000, offset: 0}
    ) {
      Block {
        Time
        Number
      }
      Fee {
        Burnt
        BurntInUSD
        EffectiveGasPrice
        EffectiveGasPriceInUSD
        GasRefund
        MinerReward
        MinerRewardInUSD
        PriorityFeePerGas
        PriorityFeePerGasInUSD
        Savings
        SavingsInUSD
        SenderFee
        SenderFeeInUSD
      }
      TransactionStatus {
        Success
      }
      Transaction {
        Hash
        From
        To
      }
      Trade {
        Buy {
          Amount
          AmountInUSD
          Buyer
          Seller
          Currency {
            Decimals
            Name
            Symbol
            SmartContract
          }
          Price
          PriceInUSD
        }
        Sell {
          Amount
          AmountInUSD
          Buyer
          Seller
          Currency {
            Name
            Symbol
            SmartContract
          }
          Price
          PriceInUSD
        }
        Dex {
          ProtocolName
          SmartContract
          OwnerAddress
        }
      }
    }
  }
}

Similar queries