Interface IRawHeader

Interface defining the structure of a raw block header.

This interface is explicitly used by GetBlockTemplate and SubmitBlock RPCs and unlike IHeader, does not include a hash.

interface IRawHeader {
    acceptedIdMerkleRoot: string;
    bits: number;
    blueScore: bigint;
    blueWork: string | bigint;
    daaScore: bigint;
    hashMerkleRoot: string;
    nonce: bigint;
    parentsByLevel: string[][];
    pruningPoint: string;
    timestamp: bigint;
    utxoCommitment: string;
    version: number;
}

Properties

acceptedIdMerkleRoot: string
bits: number
blueScore: bigint
blueWork: string | bigint
daaScore: bigint
hashMerkleRoot: string
nonce: bigint
parentsByLevel: string[][]
pruningPoint: string
timestamp: bigint
utxoCommitment: string
version: number

Generated using TypeDoc