Count dex trades by dex for address

Count total dex trades by dex for address

Returns DEX trades on Ethereum, where maker or taker is 0x4F80…ed08 and date after 2024-10-31: transaction hash, trade index, date date, buy amount, buy currency symbol, buy currency address, sell amount and 3 more fields.

By Alex Thomson · saved 2 November 2024 · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum(network: ethereum) {
    dexTrades(
      makerOrTaker: {is: "0x4F801CE48C34a805CF44dB790f85fC407807ed08"}
      date: {after: "2024-10-31"}
    ) {
      transaction {
        hash
      }
      tradeIndex
      date {
        date
      }
      buyAmountInUsd: buyAmount(in: USD)
      buyCurrency {
        symbol
        address
      }
      sellAmountInUsd: sellAmount(in: USD)
      sellCurrency {
        symbol
        address
      }
      sellAmountInUsd: sellAmount(in: USD)
      tradeAmount(in: USD)
    }
  
  }
}

Similar queries