getblock RPC Method
Parameters
blockhash
string
REQUIRED
Loading...
verbosity
numeric
Loading...
Returns
(for verbosity = 0):
object
Loading...
result
string
Loading...
error
string
Loading...
id
integer
Loading...
(for verbosity = 1):
object
Loading...
result
object
Loading...
hash
string
Loading...
confirmations
integer
Loading...
size
integer
Loading...
height
integer
Loading...
version
integer
Loading...
versionHex
string
Loading...
merkleroot
string
Loading...
tx
array
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...
Request
Response
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free