juanlozano
Returns 100 blocks on Bitcoin, where date since 2024-11-23 and date till 2024-11-23, sorted by height, highest first: timestamp time, height, difficulty, transaction count and block size big int.
What it returns
- timestamp time
- height
- difficulty
- transaction count
- block size big int
Filters
- date since 2024-11-23
- date till 2024-11-23
The query
query ($network: BitcoinNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
bitcoin(network: $network) {
blocks(
options: {desc: "height", limit: $limit, offset: $offset}
date: {since: $from, till: $till}
) {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
difficulty
transactionCount
blockSizeBigInt
}
}
}
Variables
{
"limit": 100,
"offset": 10,
"network": "bitcoin",
"from": "2024-11-23T07:52:49.000Z",
"till": "2024-11-23T09:52:49.999Z",
"dateFormat": "%Y-%m-%d"
}
Similar queries
- Bitcoin height using time · Bitcoin · Blocks
- bitcoin blocks · Bitcoin · Blocks
- bitcoin-tip-of-chain-block-height · Bitcoin · Blocks
- bitcoin_blocks · Bitcoin · Blocks
- A · Bitcoin · Blocks