Skip to main content

getblockheader RPC Method

Loading...

Updated on
Apr 30, 2025

getblockheader RPC Method

Parameters

blockhash
string
REQUIRED
Loading...
verbose
boolean
Loading...

Returns

(for verbose = true):
Loading...
hash
Loading...
confirmations
Loading...
height
Loading...
version
Loading...
versionHex
Loading...
merkleroot
Loading...
time
Loading...
mediantime
Loading...
nonce
Loading...
bits
Loading...
target
Loading...
difficulty
Loading...
chainwork
Loading...
nTx
Loading...
previousblockhash
Loading...
nextblockhash
Loading...
error
Loading...
(for verbose = false):
Loading...
result
Loading...
error
Loading...
Request
Response
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free