trades for specific wallet

Returns DEX trades on Ethereum and BNB Chain, where maker or taker is 0xeF1F…0E1e and date after 2021-03-01: transaction hash, date date, block height, buy amount, buy currency symbol, buy currency address, sell amount and 2 more fields.

By Yan · saved 9 May 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      makerOrTaker: {is: "0xeF1F0eB4e392a45986D7cE889C95c086FB170E1e"}
      date: {after: "2021-03-01"}
    ) {
      transaction {
        hash
      }
      date: date {
        date(format: "%d/%m/%y %H:%M")
      }
      block {
        height
      }
      buyAmount
      buyAmountInUsd: buyAmount(in: USD)
      buyCurrency {
        symbol
        address
      }
      sellAmount
      sellAmountInUsd: sellAmount(in: USD)
      sellCurrency {
        symbol
        address
      }
    }
  }
}

Similar queries