Skip to content

@swapped/connect-sdk / core / WalletTransferStatus

Type Alias: WalletTransferStatus ​

WalletTransferStatus = Exclude<WalletTxStatus, "transaction-completed"> | "registering" | "completed" | "requires_retry"

Defined in: src/types/wallets.transfer.types.ts:22

Progress of a wallet deposit (submit / retry).

Host send steps (except transaction-completed) plus SDK-owned steps:

  • initiating - deposit is starting
  • waiting_for_a_signature - ask the user to confirm / sign in the wallet
  • waiting_for_confirmation - wallet popup is open for a normal send
  • sending - transaction was submitted; hash may be present
  • in_progress - waiting for on-chain confirmation
  • swap_started_waiting_for_second_confirmation - first swap tx sent; another confirmation may be needed
  • registering - on-chain send succeeded; telling Swapped about the deposit
  • completed - deposit finished; show the success screen
  • requires_retry - the wallet already sent; registering with Swapped failed. Show Retry, not a new deposit
  • failed - transfer failed; show the error

Host transaction-completed is omitted - treat completed as terminal success.