ord_getBlockInfo RPC Method - Ordinals & Runes API
Please note that this method requires the Ordinals & Runes API add-on enabled on your Quicknode endpoint.
Parameters
blockHeight
string
REQUIRED
Loading...
Returns
average_fee
integer
Loading...
average_fee_rate
integer
Loading...
bits
integer
Loading...
chainwork
string
Loading...
confirmations
integer
Loading...
difficulty
number
Loading...
hash
string
Loading...
height
integer
Loading...
max_fee
integer
Loading...
max_fee_rate
integer
Loading...
max_tx_size
integer
Loading...
median_fee
integer
Loading...
median_time
integer
Loading...
merkle_root
string
Loading...
min_fee
integer
Loading...
min_fee_rate
integer
Loading...
next_block
string
Loading...
nonce
integer
Loading...
previous_block
string
Loading...
subsidy
integer
Loading...
target
string
Loading...
timestamp
integer
Loading...
total_fee
integer
Loading...
total_size
integer
Loading...
total_weight
integer
Loading...
transaction_count
integer
Loading...
version
integer
Loading...
Request
1curl --location 'https://docs-demo.btc.quiknode.pro/' \2--header 'Content-Type: application/json' \3--data '{4"method": "ord_getBlockInfo",5"params": [68432637],8"id": 1,9"jsonrpc": "2.0"10}'
1curl --location 'https://docs-demo.btc.quiknode.pro/' \2--header 'Content-Type: application/json' \3--data '{4"method": "ord_getBlockInfo",5"params": [68432637],8"id": 1,9"jsonrpc": "2.0"10}'
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": 70464307231},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": 70464307231},32"jsonrpc": "2.0"33}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free