Skip to main content

/walletsolidity/getblock REST API Endpoint

Returns block header information or entire block information.

Updated on
Oct 04, 2023

Body Parameters

id_or_num
integer
REQUIRED

The block height or the block hash. If no value is entered then the latest block is considered

detail
boolean

True means query the entire block information include the header and body. False means only query the block header information.

Returns

blockID

The block hash

block_header

The balance of the account

raw_data

The size of the energy window associated with a blockchain account

number

The block number

txTrieRoot

The root of transaction merkle tree

witness_address

The witness address

parentHash

The parent block hash

accountStateRoot

The root of account state tree

witness_id

The witness id

version

The version of the block

timestamp

The block timestamp

witness_signature

The signature of the witness, ensuring the integrity and authenticity of the block

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free