qbit-rpc
    Preparing search index...

    Interface BlockHeader

    getblockheader with verbose=true.

    interface BlockHeader {
        bits: string;
        chainwork: string;
        confirmations: number;
        difficulty: number;
        hash: string;
        height: number;
        medianTime: number;
        merkleRoot: string;
        nextBlockHash?: string;
        nonce: number;
        nTx: number;
        previousBlockHash?: string;
        target: string;
        time: number;
        version: number;
        versionHex: string;
    }

    Hierarchy (View Summary)

    Index
    bits: string

    Compact target, 8 hex characters.

    chainwork: string

    Total work in the chain up to and including this block, 64 hex characters.

    confirmations: number

    -1 when the block is not on the active chain.

    difficulty: number

    The block's difficulty.

    hash: string

    The block hash, the one requested.

    height: number

    The block's height.

    medianTime: number

    Median time of this block and the 10 before it, in UNIX epoch seconds.

    merkleRoot: string

    The merkle root of the block's transactions.

    nextBlockHash?: string

    The next block on the active chain; absent for the tip and for a block off it.

    nonce: number

    The header nonce.

    nTx: number

    The number of transactions in the block.

    previousBlockHash?: string

    Absent only for the genesis block.

    target: string

    The difficulty target, 64 hex characters.

    time: number

    The block time, in UNIX epoch seconds.

    version: number

    The block version.

    versionHex: string

    version as 8 hex characters.