swap_back

Returns DEX trades on Ethereum, where transaction hash is 0xd08d…83f3: buy amount, buy amount in USD, buy buyer, buy seller, buy currency name, buy smart contract, buy currency symbol and 12 more fields.

By alex · saved 20 October 2025 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(network: eth) {
    DEXTrades(
      where: {Transaction: {Hash: {is: "0xd08d9666f70a614f1801587a93bf760beef1485f15f093c5919d2c8db70883f3"}}}
    ) {
      Trade {
        Buy {
          Amount
          AmountInUSD
          Buyer
          Seller
          Currency {
            Name
            SmartContract
            Symbol
            Decimals
          }
        }
        Dex{
          ProtocolName
        }
        Sell {
          Amount
          AmountInUSD
          Buyer
          Currency {
            Name
            SmartContract
            Symbol
            Decimals
          }
          Price
          PriceInUSD
          Seller
        }
      }
    }
  }
}

Similar queries