MintProofOptions
@cashu/cashu-ts / MintProofOptions
Type Alias: MintProofOptions
MintProofOptions =
object
Defined in: cashu-ts/src/model/types/index.ts:107
Param
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/keysetsendpointoutputAmounts: 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!
Properties
counter?
optionalcounter:number
Defined in: cashu-ts/src/model/types/index.ts:111
keysetId?
optionalkeysetId:string
Defined in: cashu-ts/src/model/types/index.ts:108
outputAmounts?
optionaloutputAmounts:OutputAmounts
Defined in: cashu-ts/src/model/types/index.ts:109
outputData?
optionaloutputData:OutputDataLike[] |OutputDataFactory
Defined in: cashu-ts/src/model/types/index.ts:113
p2pk?
optionalp2pk:object
Defined in: cashu-ts/src/model/types/index.ts:114
locktime?
optionallocktime:number
pubkey
pubkey:
string
refundKeys?
optionalrefundKeys:string[]
proofsWeHave?
optionalproofsWeHave:Proof[]
Defined in: cashu-ts/src/model/types/index.ts:110
pubkey?
optionalpubkey:string
Defined in: cashu-ts/src/model/types/index.ts:112