Total Circulating Supply of a USDT Template

Get total supply of USDT crypto token. This API track initail supply, burnt supply and newly minted supply to calculate the total circulating supply of USDT token on Ethereum. It also returns name, symbol, total and balance.

By Akshay · saved 5 December 2024 · run 5 times · Bitquery API v1

What it returns

Filters

The query

query ($token: String!) {
  initialSupply: ethereum(network: ethereum) {
    address(address: {is: $token}) {
      annotation
      address
      smartContract {
        attributes {
          address {
            address
          }
          name
          type
          value
        }
        contractType
        currency {
          symbol
          name
          decimals
          tokenType
        }
      }
    }
    burn: transfers(
      currency: {is: $token}
      receiver: {is: "0x0000000000000000000000000000000000000000"}
    ) {
      amount(calculate: sum)
    }
    mint: transfers(
      currency: {is: $token}
      sender: {is: "0x0000000000000000000000000000000000000000"}
    ) {
      amount(calculate: sum)
    }
  }
}

Variables

{
  "token": "0xaaeE1A9723aaDB7afA2810263653A34bA2C21C7a"
}

Similar queries