Skip to main content

GetBlockHeaderByHeight Access API Method

Gets a block header by height.

Updated on
Oct 04, 2023

Parameters

Height
integer
REQUIRED

The height of the block

Returns

block
object

The details of the block

id
string

The unique identifier of the block

parent_id
string

The ID of the parent block

height
integer

The height of the block within the blockchain

timestamp
object

An object containing the details of the timestamp associated with the block

seconds
integer

An integer representing the number of seconds since a specific reference point

nanos
integer

An integer representing the additional nanoseconds that complement the seconds value

payload_hash
string

The hash of the block's payload

view
integer

The view number associated with the block

parent_voter_ids
string

A list of voter IDs associated with the parent block

parent_voter_sig_data
string

The signature data associated with the parent voter IDs

proposer_id
string

The ID of the block's proposer

proposer_sig_data
string

The signature data associated with the block's proposer

chain_id
string

The ID of the blockchain

parent_voter_indices
string

The indices of the parent block's voters

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