USDT Balance API Template

The given query retrieves the balance of USDT (Tether) tokens in a specific wallet address on Ethereum network. It searches for the wallet address provided and returns the value of USDT tokens held in that address.

By Nikhil · saved 7 July 2023 · run 62 times · Bitquery API v1

What it returns

Filters

The query

# query returns balance of any token for any ethereum wallet.
# For example wallet here is binance cold wallet
# Check that wallet here: https://explorer.bitquery.io/ethereum/address/0x28c6c06298d514db089934071355e5743bf21d60

query ($token: String) {
  ethereum(network: ethereum) {
    address(address: {is: "0x28c6c06298d514db089934071355e5743bf21d60"}) {
      balances(currency: {is: $token}) {
        value
      }
    }
  }
}

Variables

{
  "token": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
}

Similar queries