Type Alias MintProofOptions
MintProofOptions: { counter?: number; keysetId?: string; outputAmounts?: OutputAmounts; outputData?: OutputDataLike[] | OutputDataFactory; p2pk?: { locktime?: number; pubkey: string; refundKeys?: string[] }; proofsWeHave?: Proof[]; pubkey?: string;} Type declaration
Optional
counter?: number
Optional
keysetId?: string
Optional
outputData?: OutputDataLike[] | OutputDataFactory
Optional
p2pk?: { locktime?: number; pubkey: string; refundKeys?: string[] }
Optional
proofsWeHave?: Proof[]
Optional
pubkey?: string
Param: options
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
endpointoutputAmounts
: 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 effectproofsWeHave
: optionally provide all currently stored proofs of this mint. Cashu-ts will use them to derive the optimal output amountspubkey
: optionally locks ecash to pubkey. Will not be deterministic, even if counter is set!