check_trades_of_wallet

Returns DEX trades on Ethereum, where tx sender is 0x73a3…20cb, sorted by block height transaction index, highest first: block height, buy amount, buy currency symbol, buy currency address, sell amount, sell currency address, sell currency symbol and 2 more fields.

By Omkar_BQ · saved 10 November 2023 · run 4 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum(network: ethereum) {
    dexTrades(
      txSender: {is: "0x73a3225e206b236c63c34d828d9324cce7ae20cb"}
      options: {desc: ["block.height", "transaction.index"]}
    ) {
      block {
        height
      }
      buyAmount
      buyCurrency {
        symbol
        address
      }
      sellAmount
      sellCurrency {
        address
        symbol
      }
      transaction {
        index
        hash
      }
    }
  }
}

Variables

{
    "address": "0x418a7169b213473bb6d9891d5489b8776c59690a",
    "date": "2023-10-01"
}

Similar queries