A block

Export

Interface

Block

Hierarchy

  • Block

Properties

burn_block_hash: string

Hash of the anchor chain block

Memberof

Block

burn_block_height: number

Height of the anchor chain block

Memberof

Block

burn_block_time: number

Unix timestamp (in seconds) indicating when this block was mined.

Memberof

Block

burn_block_time_iso: string

An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined.

Memberof

Block

canonical: boolean

Set to true if block corresponds to the canonical chain tip

Memberof

Block

execution_cost_read_count: number

Execution cost read count.

Memberof

Block

execution_cost_read_length: number

Execution cost read length.

Memberof

Block

execution_cost_runtime: number

Execution cost runtime.

Memberof

Block

execution_cost_write_count: number

Execution cost write count.

Memberof

Block

execution_cost_write_length: number

Execution cost write length.

Memberof

Block

hash: string

Hash representing the block

Memberof

Block

height: number

Height of the block

Memberof

Block

index_block_hash: string

The only hash that can uniquely identify an anchored block or an unconfirmed state trie

Memberof

Block

microblock_tx_count: { [key: string]: number }

List of txs counts in each accepted microblock

Memberof

Block

Type declaration

  • [key: string]: number
microblocks_accepted: string[]

List of microblocks that were accepted in this anchor block. Not every anchored block will have a accepted all (or any) of the previously streamed microblocks. Microblocks that were orphaned are not included in this list.

Memberof

Block

microblocks_streamed: string[]

List of microblocks that were streamed/produced by this anchor block's miner. This list only includes microblocks that were accepted in the following anchor block. Microblocks that were orphaned are not included in this list.

Memberof

Block

miner_txid: string

Anchor chain transaction ID

Memberof

Block

parent_block_hash: string

Hash of the parent block

Memberof

Block

parent_microblock_hash: string

The hash of the last streamed block that precedes this block to which this block is to be appended. Not every anchored block will have a parent microblock stream. An anchored block that does not have a parent microblock stream has the parent microblock hash set to an empty string, and the parent microblock sequence number set to -1.

Memberof

Block

parent_microblock_sequence: number

The hash of the last streamed block that precedes this block to which this block is to be appended. Not every anchored block will have a parent microblock stream. An anchored block that does not have a parent microblock stream has the parent microblock hash set to an empty string, and the parent microblock sequence number set to -1.

Memberof

Block

txs: string[]

List of transactions included in the block

Memberof

Block

Generated using TypeDoc