multiswap test trade ruttansh dextrades

Returns DEX trades on Ethereum, where transaction hash is 0xd41c…f202: buy buyer, buy amount, buy seller, buy price, buy currency name, protocol version, protocol name and 11 more fields.

By Divyasshree · saved 18 November 2024 · run 8 times · Bitquery API v2

What it returns

Filters

The query

query lastTrades($network: evm_network) {
  EVM(network: $network, dataset: realtime) {
    DEXTrades(
      where: {Transaction: {Hash: {is: "0xd41c562b8cfe834083823d195f0bb1d820b19071bf08b9408dfba1ab422df202"}}}
    ) {
      Trade {
        Buy {
          Buyer
          Amount
          Seller
          Price
          Currency {
            Name
          }
        }
        Dex {
          ProtocolVersion
          ProtocolName
          ProtocolFamily
          Pair {
            Symbol
          }
        }
        Sell {
          Buyer
          Price
          Seller
          Amount
          Currency {
            Name
          }
        }
      }
      Block {
        Number
        Time
      }
      Transaction {
        From
        To
      }
    }
  }
}

Variables

{
  "network": "eth"
}

Similar queries