dexTrades for wallet

Returns the latest 10000 DEX trades on Ethereum, where date after 2023-10-01: base amount, buy amount, block height, unixtime, sell amount, tx from address, gas value and 6 more fields.

By Imperfect · saved 7 November 2023 · run 19 times · Bitquery API v1

What it returns

Filters

The query

query get_dex_trades($address: String, $date: ISO8601DateTime) {
  ethereum {
    dexTrades(
      options: {limit: 10000, desc: "block.timestamp.unixtime"}
      date: {after: $date}
    ) {
      baseAmount(in: USD)
      buyAmount(in: USD)
      block {
        height
        timestamp {
          unixtime
        }
      }
      sellAmount(in: USD)
      transaction(txSender: {is: $address}) {
        txFrom {
          address
        }
        gasValue
        hash
      }
      side
      quoteCurrency {
        name
        symbol
        address
      }
      quoteAmount
    }
  }
}

Variables

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

Similar queries