ord_getBlockInfo RPC Method
Please note that this method requires the Ordinals & Runes API add-on 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
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}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free