assets_tg

Returns address details on Ethereum, Polygon and Avalanche, where address is 0x821F…050a: balances value, currency address and currency symbol.

By Omkar_BQ · saved 1 November 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery ($address: String!,$network1: EthereumNetwork!,$network2: EthereumNetwork!, $network3: EthereumNetwork!){
  ethereum: ethereum(network: $network1) {
    address(address: {is: $address}) {
      balances {
        value
        currency {
          address
          symbol
        }
      }
    }
  }
  matic:ethereum(network: $network2) {
    address(address: {is: $address}) {
      balances {
        value
        currency {
          address
          symbol
        }
      }
    }
  }
  avalanche:ethereum(network: $network3) {
    address(address: {is: $address}) {
      balances {
        value
        currency {
          address
          symbol
        }
      }
    }
  }
}

Variables

{ "address":"0x821F6DB691a04914cC76621EB6d167B6D1cc050a", "network1": "ethereum", "network2": "matic", "network3": "avalanche"}

Similar queries