Skip to content

Wallets

Wallets in Swapped Connect is a connect → pick token → deposit flow. The user connects a self-custodial wallet (a connection, keyed by walletId), chooses a token, and the SDK sends it to the session (directly, or via swap / bridge when the token does not match what the session receives).

This is not Exchange Pay and not Coinbase OAuth. Coinbase Wallet (type: wallet) is this flow. Coinbase the exchange (type: exchange_oauth) is the OAuth withdraw flow.

Route here when the payment method has type: wallet (see Payment methods).

Pick your track:

  • Coreclient.wallets and client.wallets.transfer
  • ReactWalletsProvider and hooks (useAvailableWallets, useConnectWallet, useWalletTransfer, …)