Trades of an address_

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

By Omkar_BQ · saved 27 February 2024 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {desc: ["block.height","transaction.index"]}
      txSender: {is: "0xfda615c988df3a9417af4839196885c19a253225"}
    ) {
      buyCurrency {
        symbol
        address
      }
      buyAmount
      buy_amount_usd: buyAmount(in: USD)
      sellCurrency {
        symbol
        address
      }
      sellAmount
      sell_amount_usd: sellAmount(in: USD)
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      transaction {
        hash
        txFrom {
          address
        }
        index
      }
    }
  }
}

Similar queries