Whale wallet

Returns 100 DEX trades on Ethereum, where taker is 0x5445…DaF3 and base currency is not 0xc02a…6cc2, sorted by time interval second, highest first: protocol, transaction hash, tx from address, to address, base currency name, base currency symbol, decimals and 7 more fields.

By Isha · saved 11 October 2021 · run 13 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $offset: Int!) {
  ethereum(network: $network) {
    dexTrades(
      options: {limit: $limit, offset: $offset, desc: "timeInterval.second"}
      taker: {is: $address}
      baseCurrency: {not: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
     ) {
      protocol
      transaction {
        hash
        txFrom {
          address
        }
        to {
          address
        }
      }
      baseCurrency {
        name
        symbol
        decimals
      }
      baseAmount(calculate: maximum)
      buyCurrency {
        symbol
        address
      }
      sellCurrency {
        symbol
        address
      }
      side
      timeInterval {
        second
      }
    }
  }
}

Variables

{
  "network": "ethereum",
  "address": "0x5445c0A61914C0b2aAA759656BDAE2cBC8EeDaF3",
  "limit": 100,
  "offset": 0
}

Similar queries