Overview
UseopenDeposit and openWithdraw from useInterwovenKit() to launch the
built-in deposit and withdraw flows. These modals guide users through moving
assets between chains without you rebuilding the UI.
Basic usage
Defaults and requirements
chainIddefaults to the current chain.recipientAddressdefaults to the connected user address.srcOptionsanddstOptionsdefault to assets that match the selected symbol across supported chains.- A wallet must be connected, or the call throws an error.
denomsmust be a non-empty array.
Optional asset options
UsesrcOptions or dstOptions to limit the asset list shown in the modal.
Full example
Related reference
SeeuseInterwovenKit for parameter
signatures and types.