trades_in_txn_

Returns DEX trades on BNB Chain, where transaction hash is 0xe138…90cf: buy currency name, buy smart contract, buy currency symbol, buy amount, sell currency name, sell smart contract, sell currency symbol and 4 more fields.

By Omkar_BQ · saved 24 June 2025 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(network: bsc, dataset: realtime) {
    DEXTrades(
      where: {Transaction: {Hash: {is: "0xe138031c8836efdd8be9b35c1ab09b9aeac43b009ab67f0ef9976e095fe990cf"}}}
    ) {
      Trade {
        Buy {
          Currency {
            Name
            SmartContract
            Symbol
          }
          Amount
        }
        Sell {
          Currency {
            Name
            SmartContract
            Symbol
          }
          Amount
        }
        Dex {
          SmartContract
          ProtocolName
          ProtocolFamily
        }
      }
    }
  }
}

Similar queries