Skip to main content

ord_getBlockInfo RPC Method - Ordinals & Runes API

Get block info by block height using recursion API.

Updated on
Aug 09, 2026
Please note that this method requires the Ordinals & Runes API enabled on your Quicknode endpoint.

Parameters

blockHeight
string
REQUIRED

The height of the block for which the hash is to be fetched

Returns

average_fee
integer

The average fee paid by transactions in the block

average_fee_rate
integer

The average fee rate, measured in satoshis per byte, of transactions in the block

bits
integer

The block difficulty bits

chainwork
string

The total cumulative work done in the chain, represented in hexadecimal

confirmations
integer

The number of confirmations of the block

difficulty
number

The block difficulty

hash
string

The hash of the block

height
integer

The block height

max_fee
integer

The maximum fee paid by a transaction in the block

max_fee_rate
integer

The maximum fee rate, measured in satoshis per byte, of transactions in the block

max_tx_size
integer

The maximum transaction size allowed in the block

median_fee
integer

The median fee paid by transactions in the block

median_time
integer

The median time of the block

merkle_root
string

The Merkle root of the block

min_fee
integer

The minimum fee paid by a transaction in the block

min_fee_rate
integer

The minimum fee rate, measured in satoshis per byte, of transactions in the block

next_block
string

The hash of the next block

nonce
integer

The nonce used to mine the block

previous_block
string

The hash of the previous block

subsidy
integer

The block subsidy

target
string

The block target

timestamp
integer

The timestamp of the block

total_fee
integer

The total fee paid by transactions in the block

total_size
integer

The total size of the block

total_weight
integer

The total weight of the block

transaction_count
integer

The number of transactions in the block

version
integer

The block version

Request
Response
1
{
2
"id": 1,
3
"result": {
4
"average_fee": 4224,
5
"average_fee_rate": 16,
6
"bits": 386097818,
7
"chainwork": "0000000000000000000000000000000000000000792afc9194d4373f17067780",
8
"confirmations": 50985,
9
"difficulty": 83148355189239.77,
10
"hash": "00000000000000000003086c5fc47fbb3a6bc009a6f67cb33fc8ade01d80f2ab",
11
"height": 843263,
12
"max_fee": 983011,
13
"max_fee_rate": 402,
14
"max_tx_size": 188180,
15
"median_fee": 1848,
16
"median_time": 1715587887,
17
"merkle_root": "694aee821f09f09d7d6922d8d4b63647fd2837d9cdc9946a0fb1643da5a7d7b6",
18
"min_fee": 893,
19
"min_fee_rate": 5,
20
"next_block": "0000000000000000000101209b4ab3570862dc3fac8633eb62938a541c55a2ff",
21
"nonce": 895835225,
22
"previous_block": "000000000000000000015f2dbc04ed10274690e78d9be02e509373097b4a12ca",
23
"subsidy": 312500000,
24
"target": "00000000000000000003629a0000000000000000000000000000000000000000",
25
"timestamp": 1715592413,
26
"total_fee": 16735182,
27
"total_size": 1660529,
28
"total_weight": 3991667,
29
"transaction_count": 3962,
30
"version": 704643072
31
},
32
"jsonrpc": "2.0"
33
}
1
{
2
"id": 1,
3
"result": {
4
"average_fee": 4224,
5
"average_fee_rate": 16,
6
"bits": 386097818,
7
"chainwork": "0000000000000000000000000000000000000000792afc9194d4373f17067780",
8
"confirmations": 50985,
9
"difficulty": 83148355189239.77,
10
"hash": "00000000000000000003086c5fc47fbb3a6bc009a6f67cb33fc8ade01d80f2ab",
11
"height": 843263,
12
"max_fee": 983011,
13
"max_fee_rate": 402,
14
"max_tx_size": 188180,
15
"median_fee": 1848,
16
"median_time": 1715587887,
17
"merkle_root": "694aee821f09f09d7d6922d8d4b63647fd2837d9cdc9946a0fb1643da5a7d7b6",
18
"min_fee": 893,
19
"min_fee_rate": 5,
20
"next_block": "0000000000000000000101209b4ab3570862dc3fac8633eb62938a541c55a2ff",
21
"nonce": 895835225,
22
"previous_block": "000000000000000000015f2dbc04ed10274690e78d9be02e509373097b4a12ca",
23
"subsidy": 312500000,
24
"target": "00000000000000000003629a0000000000000000000000000000000000000000",
25
"timestamp": 1715592413,
26
"total_fee": 16735182,
27
"total_size": 1660529,
28
"total_weight": 3991667,
29
"transaction_count": 3962,
30
"version": 704643072
31
},
32
"jsonrpc": "2.0"
33
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free