unique transfers and transfer currencies of an address

Returns transfers and DEX trades on Ethereum, where maker or taker is 0x67c8…9c65: currency address, currency symbol, currency name, count, buy currency address, buy currency symbol, sell currency address and sell currency symbol.

By gaurav · saved 23 February 2024 · run 3 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum {
    transfers(
      any: [{sender: {is: "0x67c876172f621b89453420cf8f2200003e829c65"}}, {receiver: {is: "0x67c876172f621b89453420cf8f2200003e829c65"}}]
    ) {
      currency {
        address
        symbol
        name
      }
      count(uniq: transfers)
    }
    dexTrades(makerOrTaker: {is: "0x67c876172f621b89453420cf8f2200003e829c65"}) {
      buyCurrency {
        address
        symbol
      }
      sellCurrency {
        address
        symbol
      }
      count(uniq: txs)
    }
  }
}

Similar queries