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

    Type Alias MintProofOptions

    Optional parameters for configuring the Mint Proof operation:

    • keysetId: override the keysetId derived from the current mintKeys with a custom one. This should be a keyset that was fetched from the /keysets endpoint.
    • outputAmounts: optionally specify the output's amounts to keep and to send.
    • counter: optionally set counter to derive secret deterministically. CashuWallet class must be initialized with seed phrase to take effect.
    • proofsWeHave: optionally provide all currently stored proofs of this mint. Cashu-ts will use them to derive the optimal output amounts.
    • pubkey: optionally locks ecash to pubkey. Will not be deterministic, even if counter is set!
    • outputData : Specify your own OutputData (blinded messages)
    • p2pk : Specify options to lock the proofs according to NUT-11.
    type MintProofOptions = {
        counter?: number;
        keysetId?: string;
        outputAmounts?: OutputAmounts;
        outputData?: OutputDataLike[] | OutputDataFactory;
        p2pk?: {
            locktime?: number;
            pubkey: string | string[];
            refundKeys?: string[];
            requiredRefundSignatures?: number;
            requiredSignatures?: number;
        };
        proofsWeHave?: Proof[];
        pubkey?: string;
    }
    Index

    Properties

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