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.
Prepare the melt.
A MeltPreview containing inputs, outputs, amount, and fee.
Private key(s) used to sign P2PK locked proofs.
Single key or array of multisig keys.
Execute the melt against the quote.
The melt result: { quote, change }.
Builder for melting proofs to pay a Lightning invoice or BOLT12 offer.
Remarks
Uses the generic prepareMelt / completeMelt flow under the hood, so it works for any NUT-05 style melt quote, not just BOLT11 / BOLT12.
Example