dexTrade swap example

Returns DEX trades on Ethereum, where tx hash is 0x7811…a150: buy amount, buy currency address, buy currency symbol, sell currency address, sell currency symbol, taker address, tx from address and maker address.

By Ivan · saved 27 June 2023 · run 16 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum(network: ethereum) {
    dexTrades(
      txHash: {is: "0x7811f9f5b328eb337dbb151fb5cf3e10d6e86db028cd3d13f6705957cea1a150"}
    ) {
      buyAmount
      buyCurrency {
        address
        symbol
      }
      sellCurrency {
        address
        symbol
      }
      taker {
        address
      }
      transaction {
        txFrom {
          address
        }
      }
      maker {
        address
      }
    }
  }
}

Similar queries