me

Returns blocks on Bitcoin and bitcash, where height is 858885: timestamp time, median time time, block hash, block size big int, block stripped size, block version, block weight and 3 more fields.

By Marcus · saved 13 August 2024 · 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
      blockSizeBigInt
      blockStrippedSize
      blockVersion
      blockWeight
      chainwork
      difficulty
      transactionCount
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "height": 858885,
  "network": "bitcash"
}

Similar queries