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

    Class OutputData

    Minimum interface for an output data object. OutputData helpers only require keyset id and keys. Custom implementations must satisfy this interface to be used with wallet operations.

    Implements

    Index

    Constructors

    Properties

    blindedMessage: SerializedBlindedMessage
    blindingFactor: bigint
    secret: Uint8Array

    Methods

    • Parameters

      • amount: AmountLike
      • 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.