@cashu/cashu-ts
    Preparing search index...

    Interface OutputConfig

    Output config for send/swap operations.

    Defines types for sent and kept proofs.

    • send: Required for recipient proofs.
    • keep: Optional; defaults to wallet defaultOutputType policy.
    const config: OutputConfig = {
    send: { type: 'random', denominations: [1, 2] },
    keep: { type: 'deterministic', counter: 0 },
    };
    await wallet.send(3, proofs, config, { includeFees: true });
    interface OutputConfig {
        keep?: OutputType;
        send: OutputType;
    }
    Index

    Properties

    Properties

    keep?: OutputType