ordspv
    Preparing search index...

    Function buildCustodyBundle

    • Build a custody bundle for an inscription by walking confirmed outspends from its reveal. The result is UNVERIFIED; callers must run verifyCustodyBundle (fetchCustody does both).

      Parameters

      • inscriptionId: string
      • backend: CustodyBackend
      • options: {
            maxHops?: number;
            powLimitBits?: number | null;
            witnessBackends?: AnchorBackend[];
            witnessSection?: WitnessSectionMode;
        } = {}
        • OptionalmaxHops?: number
        • OptionalpowLimitBits?: number | null

          Proof-of-work floor for every hop header, in checkPowLimit's convention: undefined is the mainnet limit and null disables it. The caller's verification applies the same floor, so passing it here is what lets a header under it cost one attempt instead of the whole walk.

        • OptionalwitnessBackends?: AnchorBackend[]
        • OptionalwitnessSection?: WitnessSectionMode

      Returns Promise<BuildCustodyResult>