Key Block

interface KeyBlock {
    beneficiary: `ak_${string}`;
    beneficiaryReward?: number;
    hash: `kh_${string}`;
    height: number;
    info: `cb_${string}`;
    microBlocksCount: number;
    miner: `ak_${string}`;
    nonce?: number;
    pow?: number[];
    prevHash: `kh_${string}` | `mh_${string}`;
    prevKeyHash: `kh_${string}`;
    stateHash: `bs_${string}`;
    target: number;
    time: Date;
    transactionsCount: number;
    version: number;
}

Properties

beneficiary: `ak_${string}`

The beneficiary

beneficiaryReward?: number

The beneficiary reward

hash: `kh_${string}`

Key block hash

height: number

The block height

info: `cb_${string}`

The info

microBlocksCount: number

The number of micro blocks

miner: `ak_${string}`

The miner public key

nonce?: number

The nonce

pow?: number[]

The proof of work

prevHash: `kh_${string}` | `mh_${string}`

The previous block hash

prevKeyHash: `kh_${string}`

The previous key block hash

stateHash: `bs_${string}`

Blocks state hash

target: number

The target

time: Date

The time

transactionsCount: number

The number of transactions

version: number

The version