Total Supply - latest price - THC on BSC

get the latest price/swap for WETH/USDC and total supply (minted - burned)

Returns one DEX trade on Ethereum and BNB Chain, where base currency is 0xbb4C…095c, quote currency is 0x2480…BA8A and amount is above 0, sorted by block height transaction index, highest first: block height, timestamp time, transaction index, base currency symbol, quote currency symbol, quote price, amount and 2 more fields.

By s · saved 29 July 2022 · run 40 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      baseCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
      quoteCurrency: {is: "0x24802247bD157d771b7EFFA205237D8e9269BA8A"}
      options: {desc: ["block.height", "transaction.index"], limit: 1}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      transaction {
        index
      }
      baseCurrency {
        symbol
      }
      quoteCurrency {
        symbol
      }
      quotePrice
    }
    transfers(date: {since: null, till: null}, amount: {gt: 0}) {
      minted: amount(
        calculate: sum
        sender: {is: "0x0000000000000000000000000000000000000000"}
      )
      burned: amount(
        calculate: sum
        receiver: {is: "0x0000000000000000000000000000000000000000"}
      )
      currency(currency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}) {
        symbol
        name
      } 
    }
  }
}

Similar queries