Skip to main content

Interface: BlockInfo_InNode

BlockInfo interface for in-node chronik

Properties

blockSize

blockSize: number

Block size of this block in bytes (including headers etc.).

Defined in

src/ChronikClientNode.ts:988


hash

hash: string

Block hash of the block, in 'human-readable' (big-endian) hex encoding.

Defined in

src/ChronikClientNode.ts:973


height

height: number

Height of the block; Genesis block has height 0.

Defined in

src/ChronikClientNode.ts:977


isFinal

isFinal: boolean

Is this block avalanche finalized?

Defined in

src/ChronikClientNode.ts:986


nBits

nBits: number

nBits field of the block, encodes the target compactly.

Defined in

src/ChronikClientNode.ts:979


numInputs

numInputs: number

Total number of tx inputs in block (including coinbase).

Defined in

src/ChronikClientNode.ts:992


numOutputs

numOutputs: number

Total number of tx output in block (including coinbase).

Defined in

src/ChronikClientNode.ts:994


numTxs

numTxs: number

Number of txs in this block.

Defined in

src/ChronikClientNode.ts:990


prevHash

prevHash: string

Block hash of the prev block, in 'human-readable' (big-endian) hex encoding.

Defined in

src/ChronikClientNode.ts:975


sumBurnedSats

sumBurnedSats: number

Total number of satoshis burned using OP_RETURN.

Defined in

src/ChronikClientNode.ts:1002


sumCoinbaseOutputSats

sumCoinbaseOutputSats: number

Total block reward for this block.

Defined in

src/ChronikClientNode.ts:998


sumInputSats

sumInputSats: number

Total number of satoshis spent by tx inputs.

Defined in

src/ChronikClientNode.ts:996


sumNormalOutputSats

sumNormalOutputSats: number

Total number of satoshis in non-coinbase tx outputs.

Defined in

src/ChronikClientNode.ts:1000


timestamp

timestamp: number

Timestamp of the block. Filled in by the miner, so might not be 100 % precise.

Defined in

src/ChronikClientNode.ts:984