Offboard vtxos, or "collaborative exit" vtxos to onchain address.
The destination address to offboard to.
Optional
amount: bigintThe amount to offboard. If not provided, the total amount of vtxos will be offboarded.
Optional
eventCallback: (event: SettlementEvent) => voidThe callback to receive settlement events. optional.
Onboard boarding utxos.
Optional
boardingUtxos: ExtendedCoin[]The boarding utxos to onboard. If not provided, all boarding utxos will be used.
Optional
amount: bigintThe amount to onboard. If not provided, the total amount of boarding utxos will be onboarded.
Optional
eventCallback: (event: SettlementEvent) => voidThe callback to receive settlement events. optional.
Ramps is a class wrapping IWallet.settle method to provide a more convenient interface for onboarding and offboarding operations.
Example