bitcoin query

Returns blocks on Bitcoin, where height is 805418: timestamp time, day of month, day of week, iso8601, minute, month, median time time and 9 more fields.

By gaurav · saved 31 August 2023 · Bitquery API v1

What it returns

Filters

The query

{
  bitcoin(network: bitcoin) {
    blocks(height: {is: 805418}) {
      timestamp(time: {before: "18:00", after: "17:50", since: "10000"}) {
        time(format: "%Y-%m-%d %H:%M:%S")
        dayOfMonth
        dayOfWeek
        iso8601
        minute
        month
      }
      medianTime {
        time(format: "%Y-%m-%d %H:%M:%S")
        second
        year
      }
      blockHash
      blockSizeBigInt
      blockStrippedSize
      blockVersion
      blockWeight
      chainwork
      difficulty
    }
  }
}

Variables

{
  "limit": 100,
  "offset": 10,
  "height": 805418,
  "network": "bitcoin"
}

Similar queries