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

    Type Alias ReceiveOptions

    Optional configuration for token processing:

    • keysetId: Override the default keyset ID with a custom one fetched from the /keysets endpoint.
    • outputAmounts: Specify output amounts for keeping or sending.
    • proofsWeHave: Provide stored proofs for optimal output derivation.
    • counter: Set a counter to deterministically derive secrets (requires CashuWallet initialized with a seed phrase).
    • pubkey: Lock eCash to a public key (non-deterministic, even with a counter set).
    • privkey: Create a signature for token secrets.
    • requireDleq: Verify DLEQ proofs for all provided proofs; reject the token if any proof fails verification.
    • outputData : Specify your own OutputData (blinded messages)
    • p2pk : Specify options to lock the proofs according to NUT-11.
    type ReceiveOptions = {
        counter?: number;
        keysetId?: string;
        outputAmounts?: OutputAmounts;
        outputData?: OutputDataLike[] | OutputDataFactory;
        p2pk?: {
            locktime?: number;
            pubkey: string | string[];
            refundKeys?: string[];
            requiredRefundSignatures?: number;
            requiredSignatures?: number;
        };
        privkey?: string;
        proofsWeHave?: Proof[];
        pubkey?: string;
        requireDleq?: boolean;
    }
    Index

    Properties

    counter?: number
    keysetId?: string
    outputAmounts?: OutputAmounts
    outputData?: OutputDataLike[] | OutputDataFactory
    p2pk?: {
        locktime?: number;
        pubkey: string | string[];
        refundKeys?: string[];
        requiredRefundSignatures?: number;
        requiredSignatures?: number;
    }
    privkey?: string
    proofsWeHave?: Proof[]
    pubkey?: string
    requireDleq?: boolean