Withdraw an asset to an address on any supported chain
Both live withdrawals and dry: true previews require X-Grant-Token and Idempotency-Key; a live withdrawal also needs an account policy allowing withdrawal to the destination. An archived, deleted or frozen account, or one whose applied policy does not parse (policy_not_ready), gets no preview, and an asset GET /v1/tokens does not list (unsupported_token) or a recipient that is not a valid address (invalid_address) is refused before any provider call, as a live withdrawal is. The account’s rules never refuse a preview: it answers with spend (USD value and budget left), fee (on chain near, the provider’s estimate when stated in the withdrawn asset, otherwise amount minus quote.amount_out; on a confidential bridged route, amount minus quote.amount_out valued in the asset of the same symbol 1Click lists on that chain; null for a public bridged route, when the quote states no amount_out, when the chain lists no single asset of that symbol, when either asset has no fresh price, or when the delivery is worth more than amount) and warnings, which list each rule the live withdrawal would fail under its code (policy_action_denied, policy_destination_denied, policy_asset_denied, schedule, USD budget, per-asset limits, actions per hour, policy_usage_unavailable when unreconciled history keeps the limits from being judged, or insufficient_balance with available_amount) beside high_fee (above 5%, only where fee is valued) and asset_delivered_as_is (a non-USDC asset to hypercore). Identical previews reuse a result for 60 seconds; an expired preview needs a new key. The API sets no preview cap; each preview that reaches the provider counts toward the wallet’s 1,000 custody operations per rolling 24 hours (provider_limit_reached). NEAR (nep141:wrap.near, or near) withdrawn to chain near always arrives as native NEAR, public or confidential.
Authorizations
Headers
Body
Response
Success
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
- Option 15
- Option 16
- Option 17
- Option 18
- Option 19