Token transfer statistics

Returns 2 DEX trades on Ethereum, where buy currency smart contract is 0xc02a…6cc2: chain ID, block date, count, unique of trade sell seller and unique of trade sell buyer.

By Nadia · saved 7 August 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $address: String!) {
  EVM(network: $network, dataset: combined) {
    DEXTrades(
      where: {Trade: {Buy: {Currency: {SmartContract: {is: $address}}}}}
      limit: {count: 2}
    ) {
      ChainId
      Block {
        min_date: Date(minimum: Block_Date)
        max_date: Date(maximum: Block_Date)
      }
      days: count(distinct: Block_Date)
      count
      sender_count: uniq(of: Trade_Sell_Seller)
      receiver_count: uniq(of: Trade_Sell_Buyer)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "eth",
  "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
}

Similar queries