zcash query

Returns blocks on Bitcoin and Zcash, where height is 716271: timestamp time, median time time, block hash, block size, block stripped size, block version, block weight and 3 more fields.

By Andrey · saved 29 December 2021 · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $height: Int!) {
  bitcoin(network: $network) {
    blocks(height: {is: $height}) {
      timestamp {
        time(format: "%Y-%m-%d %H:%M:%S")
      }
      medianTime {
        time(format: "%Y-%m-%d %H:%M:%S")
      }
      blockHash
      blockSize
      blockStrippedSize
      blockVersion
      blockWeight
      chainwork
      difficulty
      transactionCount
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "height": 716271,
  "network": "zcash"
}

Similar queries