parameterise - balance of an address on multiple network

Returns address details on Ethereum, BNB Chain and Polygon, where address is 0x295a…28ac: balances value, currency address, currency symbol and token type.

By gaurav · saved 14 August 2023 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($address: String!) {
  eth: ethereum(network: ethereum) {
    address(address: {is: $address}) {
      balances {
        value
        currency {
          address
          symbol
          tokenType
        }
      }
    }
  }
  bsc: ethereum(network: bsc) {
    address(address: {is: $address}) {
      balances {
        value
        currency {
          address
          symbol
          tokenType
        }
      }
    }
  }
  matic: ethereum(network: matic) {
    address(address: {is: $address}) {
      balances {
        value
        currency {
          address
          symbol
          tokenType
        }
      }
    }
  }
}

Variables

{
  "address": "0x295a75c3eec798d797483e4177d48a0bb3b928ac"
}

Similar queries