Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BlockInfo

Block info about a block

Hierarchy

  • BlockInfo

Index

Properties

blockSize: Long

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

hash: string

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

height: number

Height of the block; Genesis block has height 0.

nBits: number

nBits field of the block, encodes the target compactly.

numInputs: Long

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

numOutputs: Long

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

numTxs: Long

Number of txs in this block.

prevHash: string

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

sumBurnedSats: Long

Total number of satoshis burned using OP_RETURN.

sumCoinbaseOutputSats: Long

Total block reward for this block.

sumInputSats: Long

Total number of satoshis spent by tx inputs.

sumNormalOutputSats: Long

Total number of satoshis in non-coinbase tx outputs.

timestamp: Long

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

Generated using TypeDoc