avax balance

Returns address details and transactions on Ethereum and Avalanche, where address is 0xa642…908b and tx to is 0xa642…908b: balances value, currency address, currency symbol, token type, gas, gas value and gas price.

By gaurav · saved 16 July 2024 · run 8 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!) {
  ethereum(network: $network) {
    address(address: {is: $address}) {
      balances(height: {lteq: 39768850}) {
        value
        currency {
          address
          symbol
          tokenType
        }
      }
    }
    transactions(txTo: {is: $address}) {
      gas(calculate: sum)
      gasValue(calculate: sum)
      gasPrice
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "avalanche",
  "address": "0xa642e930f0DD378F23d6816C0A3998ABa944908b"
}

Similar queries