Skip to main content

Interface: BlockInfo

Block info about a block

Properties

blockSize

blockSize: string

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

Defined in

src/ChronikClient.ts:802


hash

hash: string

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

Defined in

src/ChronikClient.ts:786


height

height: number

Height of the block; Genesis block has height 0.

Defined in

src/ChronikClient.ts:793


nBits

nBits: number

nBits field of the block, encodes the target compactly.

Defined in

src/ChronikClient.ts:795


numInputs

numInputs: string

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

Defined in

src/ChronikClient.ts:806


numOutputs

numOutputs: string

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

Defined in

src/ChronikClient.ts:808


numTxs

numTxs: string

Number of txs in this block.

Defined in

src/ChronikClient.ts:804


prevHash

prevHash: string

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

Defined in

src/ChronikClient.ts:791


sumBurnedSats

sumBurnedSats: string

Total number of satoshis burned using OP_RETURN.

Defined in

src/ChronikClient.ts:816


sumCoinbaseOutputSats

sumCoinbaseOutputSats: string

Total block reward for this block.

Defined in

src/ChronikClient.ts:812


sumInputSats

sumInputSats: string

Total number of satoshis spent by tx inputs.

Defined in

src/ChronikClient.ts:810


sumNormalOutputSats

sumNormalOutputSats: string

Total number of satoshis in non-coinbase tx outputs.

Defined in

src/ChronikClient.ts:814


timestamp

timestamp: string

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

Defined in

src/ChronikClient.ts:800