Skip to main content

kaia_getBlockWithConsensusInfoByHash RPC Method

Returns a block with consensus information that matches the given block hash.

Updated on
Aug 07, 2024

Parameters

blockHash
string
REQUIRED

The block hash

Returns

object
object | null

A block object, or null when no block was found:

blockScore
string

(Optional) The score of the block, represented in hexadecimal format

committee
array

An array of all committee

committers
array

An array of all committers

extraData
string

The “extra data” field of this block

gasUsed
string

The total used gas by all transactions in this block encoded as a hexadecimal

governanceData
string

Data related to governance, represented as a hexadecimal string

hash
string | null

The block hash of the requested block. null if pending

logsBloom
string | null

The bloom filter for the logs of the block. null if pending

number
string | null

The block number of the requested block encoded as a hexadecimal. null if pending

originProposer
string

The origin of the proposer

parentHash
string

The hash of the parent block

proposer
string

The proposer address

receiptsRoot
string

The root of the receipts trie of the block

reward
string

The address of the account that received the block reward

sigHash
string

The sig hash

size
string

The size of this block in bytes as an Integer value encoded as hexadecimal

stateRoot
string

The root of the final state trie of the block

timestamp
string

The unix timestamp for when the block was collated

timestampFoS
string

An additional timestamp field, represented in hexadecimal format

totalBlockScore
string

(Optional) The total score of the blockchain up to and including this block, represented in hexadecimal format

transactions
array

An array of transaction objects

transactionsRoot
string

The root of the transaction trie of the block

voteData
string

The data related to votes, represented as a hexadecimal string

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