get token updated

Returns 7 DEX trades and address details on Ethereum and BNB Chain, where smart contract address is 0x1b96…774f, address is 0x1b96…774f and exchange name is Pancake or Pancake v2, sorted by time interval day, highest first: count, trade amount, currency name, currency symbol, token type, protocol type, day and balance.

By gaurav · saved 14 June 2022 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    Token: dexTrades(
      exchangeName: {in: ["Pancake", "Pancake v2"]}
      smartContractAddress: {is: "0x1b96b92314c44b159149f7e0303511fb2fc4774f"}
    ) {
      count
      tradeAmount(in: USD)
      smartContract {
        currency {
          name
          symbol
          tokenType
        }
        protocolType
      }
    }
    HistoricVolume1D: dexTrades(
      exchangeName: {in: ["Pancake", "Pancake v2"]}
      options: {limit: 7, desc: "timeInterval.day"}
      smartContractAddress: {is: "0x1b96b92314c44b159149f7e0303511fb2fc4774f"}
    ) {
      timeInterval {
        day(count: 1)
      }
      count
      tradeAmount(in: USD)
    }
    Balance: address(address: {is: "0x1b96b92314c44b159149f7e0303511fb2fc4774f"}) {
      balance
      smartContract {
        currency {
          name
          symbol
        }
      }
    }
  }
}

Similar queries