Offboard virtual outputs, or collaboratively exit them to an onchain address.
The destination address to offboard to.
The fee info to deduct from the offboard amount.
Optionalamount: bigintThe amount to offboard. If not provided, the total amount of virtual outputs will be offboarded.
OptionaleventCallback: (event: SettlementEvent) => voidOptional callback that receives settlement events
Optionalvtxos: NormalizedExtendedVirtualCoin[]Specific virtual outputs to spend, mirroring onboard's
boardingUtxos. Omitted, every spendable one is spent — merging the whole
off-chain balance into a single change output. Taken as given like
settle({ inputs }): an amount these cannot cover is an error, not a top-up.
The Arkade transaction id created by settlement
Collaboratively exit with the DESTINATION paid exactly amount, pricing the
fee on that output rather than on a grossed-up figure. offboard keeps
the other anchor, which needs g - fee(g) = amount solved — impossible for
a program charging the whole output.
Sats the destination receives, exactly.
OptionaleventCallback?: (event: SettlementEvent) => voidOptionalvtxos?: NormalizedExtendedVirtualCoin[]Onboard boarding inputs.
The fee info to deduct from the onboard amount.
OptionalboardingUtxos: ExtendedCoin[]Specific boarding inputs to onboard. If not provided, all boarding inputs will be used.
Optionalamount: bigintAmount to onboard. If not provided, the total amount of boarding inputs will be onboarded.
OptionaleventCallback: (event: SettlementEvent) => voidOptional callback that receives settlement events
The Arkade transaction id created by settlement
Ramps is a class wrapping
settlemethod to provide a more convenient interface for onboarding and offboarding operations.See
Example