parse

Returns DEX trades by token on BNB Chain, where transaction hash is 0x1c41…6ba1 and block date after 2024-10-23: transaction hash, trade amount, currency name, trade price, side currency name and side amount.

By gaurav · saved 25 October 2024 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: bsc, dataset: combined) {
    DEXTradeByTokens(
      where: {Block: {Date: {after: "2024-10-23"}},
        Transaction: {Hash: {is: "0x1c411646138a18d52efb0e9ff46e852d1e1f8b3210169b9f2e022b08f3f66ba1"}}}
    ) {
      Transaction {
        Hash
      }
      Trade {
        Amount
        Currency {
          Name
        }
        Price
        Side {
          Currency {
            Name
          }
          Amount
        }
      }
    }
  }
}

Similar queries