Skip to main content

Overview

Use openDeposit 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

  • chainId defaults to the current chain.
  • recipientAddress defaults to your connected wallet address.
  • srcOptions and dstOptions default to assets that match the selected symbol across supported chains.
  • A wallet must be connected, or the call throws an error.
  • denoms must be a non-empty array.

Optional Asset Options

Use srcOptions or dstOptions to limit the asset list shown in the modal.

Full Example

See useInterwovenKit for parameter signatures and types.