Provide pre-created OutputData for change.
Fully formed OutputData for the change amount.
Use deterministic outputs for change.
Starting counter. Zero means auto reserve using the wallet’s CounterSource.
Optionaldenoms: number[]Optional custom split. Can be partial if you only need SOME specific amounts.
Use a factory to generate OutputData for change.
Factory used to produce blinded messages.
Optionaldenoms: number[]Optional custom split. Can be partial if you only need SOME specific amounts.
Use P2PK-locked change (NUT-11).
NUT-11 locking options (e.g., pubkey, locktime).
Optionaldenoms: number[]Optional custom split. Can be partial if you only need SOME specific amounts.
Use random blinding for change outputs.
Optionaldenoms: number[]Optional custom split. Can be partial if you only need SOME specific amounts.
Use a specific keyset for the melt operation.
Keyset id to use for mint keys and fee lookup.
Receive a callback when NUT-08 blanks (0-sat change outputs) are created for async melts.
Callback invoked with the created blanks payload.
Receive a callback once counters are atomically reserved for deterministic outputs.
Called with OperationCounters when counters are reserved.
Execute the melt against the quote.
The melt result: { quote, change }.
Builder for melting proofs to pay a Lightning invoice or BOLT12 offer.
Remarks
Supports both BOLT11 and BOLT12. You can optionally receive a callback when NUT-08 blanks are created for async melts.
Example