getblockheader RPC Method
Parameters
blockhash
string
REQUIRED
Loading...
verbose
boolean
Loading...
Returns
(for verbose = true):
object
Loading...
result
object
Loading...
hash
string
Loading...
confirmations
integer
Loading...
height
integer
Loading...
version
integer
Loading...
versionHex
string
Loading...
merkleroot
string
Loading...
time
integer
Loading...
mediantime
integer
Loading...
nonce
integer
Loading...
bits
string
Loading...
difficulty
integer
Loading...
chainwork
string
Loading...
nTx
integer
Loading...
previousblockhash
string
Loading...
nextblockhash
string
Loading...
error
string
Loading...
id
integer
Loading...
(for verbose = false):
object
Loading...
result
string
Loading...
error
string
Loading...
id
integer
Loading...
Request
Response
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free