Skip to main content

Overview

Withdraw mode provides a guided flow for moving assets out of a wallet. Fee options and routing are handled automatically — users choose the amount and destination, or you can pre-configure those. Trade types: EXACT_INPUT and EXACT_OUTPUT.

Quick start

Props

Required

Source (optional)

Withdraw mode sources funds from crypto only — there is no fiat arm.

Destination (optional)

Recipient inputs accept .eth ENS names and resolve them automatically.

Lifecycle callbacks

intentId identifies the intent behind this flow and is what you pass to the Trails API or Trailscan to look it up. It is null for passthrough quotes. See Callback payloads.

Examples

Basic withdraw — user selects everything

Pre-configured withdrawal

Locked destination

See also