ordspv
    Preparing search index...

    Interface ProofBundleJson

    interface ProofBundleJson {
        block: { hash: string; header: string; height: number; txCount: number };
        commit?: { hex: string };
        inscriptionId: string;
        level: "L2" | "L3";
        reveal: { hex: string; pos: number; txidBranch: string[] };
        version: 1;
        witness?: WitnessSectionJson;
    }
    Index
    block: { hash: string; header: string; height: number; txCount: number }

    Type Declaration

    • hash: string

      display-order hash the server claims; recomputed and checked

    • header: string

      160 hex chars

    • height: number
    • txCount: number

      total number of transactions in the block (required: CVE-2017-12842 hardening)

    commit?: { hex: string }

    required for L2 (and harmless in L3): the tx whose output the reveal input spends

    inscriptionId: string
    level: "L2" | "L3"
    reveal: { hex: string; pos: number; txidBranch: string[] }

    Type Declaration

    • hex: string
    • pos: number

      0-based position in the block's tx list

    • txidBranch: string[]

      txid-tree merkle branch, display-order hex, bottom-up

    version: 1

    required for L3; refused on an L2 bundle, where nothing reads it