testPCS

Returns transfers and DEX trades on Ethereum and BNB Chain, where smart contract address is 0x58F8…Dc16, date since 2022-02-12 and amount is above 0: amount, token type, trade amount and count.

By fredSalin · saved 16 February 2022 · Bitquery API v1

What it returns

Filters

The query

query ($since: ISO8601DateTime, $pair: String, $address: String) {
  ethereum(network: bsc) {
    transfers(amount: {gt: 0}) {
      burned: amount(
        calculate: sum
        receiver: {in: ["0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000001", "0x000000000000000000000000000000000000dead"]}
      )
      currency(currency: {is: $address}) {
        tokenType
      }
    }
    dexTrades(smartContractAddress: {is: $pair}, date: {since: $since}) {
      tradeAmount(in: USD)
      count
    }
  }
}

Variables

{
  "since": "2022-02-12",
  "pair" : "0x58F876857a02D6762E0101bb5C46A8c1ED44Dc16",
  "address": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"
  
}

Similar queries