trade for transaction

Returns DEX trades on Ethereum, where transaction hash is 0xff88…13aa: smart contract, protocol name, buy seller, buy buyer, buy amount, buy amount in USD, buy currency symbol and 9 more fields.

By gaurav · saved 18 December 2024 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {Transaction: {Hash: {is: "0xff88b7d2d5db315674ebf8f58c591b66f4de8bd42a82e4ca2f2ded5c196713aa"}}}
    ) {
      Trade {
        Dex {
          SmartContract
          ProtocolName
        }
        Buy {
          Seller
          Buyer
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            SmartContract
          }
        }
        Sell {
          Seller
          Buyer
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries