Introduction
Move the approved crypto amount from a Swig wallet to the provider’s deposit for an existing sell order. The order must beawaiting-transfer and include
deposit details. Use this flow after sell checkout,
including recovery of a submitted attempt after an uncertain response.
The examples use the same mainnet client, saved sell order, and configured
requester authority. Application callbacks own signing and durable storage.
SDK examples
Prepare and submit the sell transfer
Review the provider’s current deposit against the approved order.signTransaction and saveTransferAttempt (snake_case in Python/Rust) are application-owned callbacks for signing and durable storage.
VersionedTransaction.
Resolve a submitted transfer
For an attempt already insubmitted, resolve the same transfer without signing or paying again.
Flow
Input
TypeScript names are shown; Python uses snake_case. Preparation and transfer
submission are not retried automatically; Rust quotes also send once.
Only prepare a replacement after the previous attempt is failed or expired
and the order is still eligible. An uncertain response alone is insufficient.

