Leo Carrillo

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

By Leonardo carrillo · saved 11 January 2025 · 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": 100,
  "offset": 10,
  "height": 880549,
  "network": "bitcash"
}

Similar queries