Token information v2.1

Returns 100 transfers and DEX trades on Ethereum and BNB Chain, where base currency is 0x0a38…30f1, quote currency is 0x55d3…7955 and exchange name is ApeSwap, sorted by block height transaction index, highest first: amount, currency symbol, currency name, block height, timestamp time, transaction index and quote price.

By ApeSwap · saved 10 February 2022 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork, $base: String!, $quote: String!) {
  ethereum(network: $network) {
    transfers(date: {since: null, till: null}, amount: {gt: 0}) {
      minted: amount(
        calculate: sum
        sender: {in: ["0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000001"]}
      )
      burned: amount(
        calculate: sum
        receiver: {in: ["0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000001", "0x000000000000000000000000000000000000dead"]}
      )
      currency(currency: {is: $base}) {
        symbol
        name
      }
    }
    dexTrades(
      baseCurrency: {is: $base}
      quoteCurrency: {is: $quote}
      exchangeName: {is: "ApeSwap"}
      options: {desc: ["block.height", "transaction.index"], limit: 100}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      transaction {
        index
      }
      quotePrice
    }
  }
}

Variables

{
  "network": "bsc",
  "base": "0x0a38bc18022b0ccb043f7b730b354d554c6230f1",
  "quote": "0x55d398326f99059ff775485246999027b3197955"
}

Similar queries