Cashu-TS - v3.3.0
    Preparing search index...

    Class OutputData

    Note: OutputData helpers only require keyset id and keys. If you want richer keyset typing at the call site, use OutputDataLike<YourType>.

    WARNING: In v4 we may simplify this further by fixing the keyset type to HasKeysetKeys and removing the generic.

    Implements

    Index

    Constructors

    Properties

    blindedMessage: SerializedBlindedMessage
    blindingFactor: bigint
    secret: Uint8Array

    Methods

    • Parameters

      • amount: number
      • seed: Uint8Array
      • counter: number
      • keysetId: string

      Returns OutputData

      May throw if blinding factor is out of range. Caller should catch, increment counter, and retry per BIP32-style derivation.