query trade

Returns DEX trades, where transaction hash is 0xd0e2…6165: buy amount, buy amount in USD, buy currency symbol, buy smart contract, sell amount, sell amount in USD, sell currency symbol and sell smart contract.

By Aleksey · saved 24 June 2025 · run 24 times · Bitquery API v2

What it returns

Filters

The query

query {
  EVM {
    DEXTrades(where: {
      Transaction: {
        Hash: {
          is: "0xd0e28d835a8c7ab47a85aeea68eeeda050a04cbeb5e2eca7bf3cd856095f6165"
        }
      }
    }){
      Trade {
        Buy {
          Amount
          AmountInUSD
          Currency {
            Symbol
            SmartContract
          }
        }
        Sell {
          Amount
          AmountInUSD
          Currency {
            Symbol
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries