Unique Buyers Sellers PEPE

Returns DEX trades on Ethereum, where buy currency smart contract is 0x6982…1933, sell currency smart contract is 0x6982…1933 and block time since 2023-08-26: count.

By Divyasshree N · saved 26 October 2023 · run 11 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $token: String!) {
  EVM(network: $network, dataset: combined) {
    Unique_Buyers: DEXTrades(
      where: {Block: {Time: {since: "2023-08-26T01:00:00Z", till: "2023-08-28T23:00:00Z"}}, Trade: {Buy: {Currency: {SmartContract: {is: $token}}}}}
    ) {
      count(distinct: Trade_Buy_Buyer)
    }
    Unique_Sellers: DEXTrades(
      where: {Block: {Time: {since: "2023-08-26T01:00:00Z", till: "2023-08-28T23:00:00Z"}}, Trade: {Sell: {Currency: {SmartContract: {is: $token}}}}}
    ) {
      count(distinct: Trade_Sell_Seller)
    }
  }
}

Variables

{
  "network": "eth",
  "token": "0x6982508145454ce325ddbe47a25d4ec3d2311933"
}

Similar queries