Ethereum: Contract Balance

Returns address details on Ethereum, where address is 0x7d1a…ebb0: balances value, currency address, currency symbol, token type and balance.

By Sangam Bharti · saved 29 October 2023 · run 17 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!) {
  ethereum(network: $network) {
    address(
      address: {in: ["0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0"]}
    ) {
      balances(
        currency: {in: ["0xdac17f958d2ee523a2206206994597c13d831ec7", "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "0x6B175474E89094C44Da98b954EedeAC495271d0F"]}
      ) {
        value
        currency {
          address
          symbol
          tokenType
        }
      }
      balance(in: USD)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0xcEe284F754E854890e311e3280b767F80797180d"
}

Similar queries