Prop | Type | Required | Default | Description |
---|---|---|---|---|
toAddress | string | Yes | — | Prefill the recipient/destination address. |
toAmount | string | Yes | — | Prefill the amount to send (e.g., “0.1”). |
toChainId | number | string | Yes | — | Prefill the destination chain ID. |
toToken | string | Yes | — | Prefill the destination token contract address (e.g., 0x... ). |
toCalldata | string | No | — | Optional calldata for contract interactions at the destination chain. |
renderInline | boolean | No | true | true renders inline; false renders a button that opens the modal. |
theme | 'light' | 'dark' | 'auto' | No | 'auto' | Color theme; auto follows system. |
walletOptions | string[] | No | ["injected", "privy"] | Wallet providers to offer. |
onOriginConfirmation | (txHash: string, chainId: number) => void | No | — | Called when the origin transaction confirms. |
onDestinationConfirmation | (txHash: string, chainId: number) => void | No | — | Called when the destination transaction confirms. |
privyAppId | string | No | — | Privy App ID (if using Privy). |
privyClientId | string | No | — | Privy Client ID (if using Privy). |
gasless | boolean | No | false | Enables gasless flow when a paymaster is configured. |
paymasterUrls | Array<{ chainId: number; url: string }> | No | — | Configure per-chain paymaster endpoints for gasless. Simply pass in the paymaster URLs for a 4337-compatible bundler. Requires gasless . |
appId | string | No | — | Your appId key. Generate one on the Sequence Builder. |
mode | 'fund' | 'pay' | No | 'pay' | The operation mode: 'fund' for deposit actions (into chains, vaults, LPs, etc.), 'pay' for payment use cases (swaps, NFT purchases, etc.). |
customCss | string | No | — | Custom CSS styles to apply to the component. |
quoteProvider | 'lifi' | 'relay' | 'cctp' | 'auto' | No | 'auto' | The quote provider to use for price quotes. 'auto' selects the best provider automatically. |
renderInline={false}
, you can provide a custom button to trigger opening up the modal: