Interface BlockInfoV1

Block info used from protocol version 6

Hierarchy

Properties

blockArriveTime: Date

The time the block was verified

blockBaker?: bigint

The baker ID of the baker for this block. Not available for a genesis block

blockHash: BlockHash

Hash of block

blockHeight: bigint

The absolute height of this (i.e. relative to the initial genesis block)

blockLastFinalized: BlockHash

Hash of last finalized block when this block was baked

blockParent: BlockHash

Hash of parent block. For the initial genesis block (i.e. not re-genesis) this will be the hash of the block itself

blockReceiveTime: Date

The time the block was received

blockSlotTime: Date

The time of the slot in which the block was baked

blockStateHash: string

Hash of block state

epoch: bigint

The block epoch

eraBlockHeight: number

The height of this block relative to the (re)genesis block of its era

finalized: boolean

Whether the block is finalized

genesisIndex: number

The genesis index for the block. This counst the number of protocol updates that have preceeded this block, and defines the era of the block.

protocolVersion: bigint

The protocol version the block belongs to

round: bigint

The block round

transactionCount: bigint

The number of transactions in the block

transactionEnergyCost: Energy

The energy cost of the transactions in the block

transactionsSize: bigint

The total byte size of all transactions in the block

version: 1

Generated using TypeDoc