Cashu-TS - v4.0.0-rc3
    Preparing search index...

    Function normalizeP2PKOptions

    • Internal

      Validate and normalize P2PK/HTLC output options.

      Parameters

      Returns P2PKOptions

      Normalizes and deduplicates pubkeys, then enforces that requested signature thresholds are satisfiable by the resulting key sets.

      External callers use P2PKBuilder: P2PKBuilder.fromOptions(opts).toOptions()