Avalanche block info

Returns blocks and transactions on Ethereum and Avalanche, where height is 10343014: hash, difficulty, height, parent hash, reward, reward currency address, decimals and 22 more fields.

By Aman · saved 24 February 2022 · Bitquery API v1

What it returns

Filters

The query

query(
  $height: Int
) {
  ethereum(network:avalanche ) {
    blocks(height: {is: $height}) {
      hash
      difficulty
      height
      parentHash
      reward
      rewardCurrency {
        address
        decimals
        name
        symbol
        tokenId
        tokenType
      }
      totalDifficulty
      transactionCount
      uncleCount
    }
    transactions(height: {is: $height}) {
      gas
      gasValue
      gasPrice
      hash
      count
      sender {
        address
        annotation
      }
      success
      to {
        address
        annotation
      }
    }
    smartContractEvents(height: {is: $height}) {
      smartContractEvent {
        name
        signature
        signatureHash
      }
      smartContract {
        address {
          address
          annotation
        }
        contractType
      }
      transaction {
        hash
      }
      eventIndex
    }
  }
}

Variables

{"height": 10343014}

Similar queries