GetToken

Get details of specific Tokens on pancakeSwap as per request

Returns 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: count, trade amount, currency name, currency symbol, token type, protocol type, date date and 2 more fields.

By Sayon Sai Dutta · saved 14 June 2022 · run 10 times · 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(
      date: {since: "2022-06-01"}
      exchangeName: {in: ["Pancake", "Pancake v2"]}
      smartContractAddress: {is: "0x1b96b92314c44b159149f7e0303511fb2fc4774f"}
    ){
      date{
         date
      }
      count
      tradeAmount(in: USD)
    }
    HistoricVolume2D: dexTrades(
      date: {since: "2022-06-01"}
      exchangeName: {in: ["Pancake", "Pancake v2"]}
      smartContractAddress: {is: "0x1b96b92314c44b159149f7e0303511fb2fc4774f"}
    ){
      timeInterval{
        day(count: 2)
      }
      count 
      tradeAmount(in: USD)
    }
    HistoricVolume1W: dexTrades(
      date: {since: "2022-06-01"}
      exchangeName: {in: ["Pancake", "Pancake v2"]}
      smartContractAddress: {is: "0x1b96b92314c44b159149f7e0303511fb2fc4774f"}
    ){
      timeInterval{
        day(count: 7)
      }
      count
      tradeAmount(in: USD)
    }
  	Balance: address(address: {is: "0x1b96b92314c44b159149f7e0303511fb2fc4774f"}){
      balance
      smartContract{
        currency{
          name
          symbol
        }
      }
    }
  }
}

Similar queries