Appearance
@swapped/connect-sdk / core
core
Framework-agnostic Swapped Connect client SDK.
Import from @swapped/connect-sdk.
Exports are grouped by area: Client, Payment Methods, Exchange Pay, Cash App, Coinbase, Session, Events, Errors, Enums, and OAuth.
Client
- LoadSessionOptions
- SwappedConnectClient
- SwappedConnectConfig
- SwappedConnectEnvironment
- SwappedConnectModule
- SwappedConnectState
- SwappedConnectWalletsConfig
- SwappedRemoteConfig
- SwappedRemoteConfigCondition
- SwappedRemoteConfigFeatures
- SwappedRemoteConfigGateway
- SwappedRemoteConfigLimits
- SwappedRemoteConfigNetworkGroup
- SwappedRemoteConfigNetworkKey
- SwappedRemoteConfigPlatformCheck
- SwappedRemoteConfigSnapshot
- SwappedRemoteConfigSource
- SwappedRemoteConfigStatus
- SwappedRemoteConfigWalletOverride
- CONNECT_ENVIRONMENT_DEFAULTS
- DEFAULT_API_BASE_URL
- DEFAULT_WIDGET_BASE_URL
- GATEWAY_MODULES
- STAGING_API_BASE_URL
- STAGING_WIDGET_BASE_URL
- SWAPPED_CONNECT_MODULES
- createSwappedConnectClient
- evaluateCondition
- preloadRemoteConfig
- resolveNetworkFeatures
- resolveWalletConfig
Payment Methods
- PaymentMethods
- IntegrationPaymentMethod
- IntegrationPaymentMethodBase
- IntegrationPaymentMethodCashApp
- IntegrationPaymentMethodExchange
- IntegrationPaymentMethodWallet
- PaymentMethodCategory
- PaymentMethodFilter
Exchange Pay
- ExchangePay
- CreateExchangePayOrderRequest
- ExchangePayCheckout
- ExchangePayCheckoutQr
- ExchangePayCompletedTransactionSummary
- ExchangePayOrder
- ExchangePayOrderStatus
- ExchangePayOrderStatusValue
- ExchangePayOrderTimeLeft
- ExchangePayProvider
- ExchangePaySupportedCurrency
- GetExchangePaySupportedCurrenciesRequest
- PreferredCurrencyToReceive
- getExchangePayCurrencyKey
- getExchangePayOrderTimeLeft
- getExchangePayOrderTimeLeftMs
- isExchangePayOrderExpired
- isExchangePayProvider
Coinbase
- Coinbase
- CoinbaseActiveWithdrawal
- CoinbaseAmountError
- CoinbaseBalance
- CoinbaseBalanceIneligibleReason
- CoinbaseCompletedTransactionSummary
- CoinbaseCooldown
- CoinbaseFromCurrency
- CoinbaseFundingToken
- CoinbaseNetworkIneligibleReason
- CoinbaseNetworkItem
- CoinbaseSelectionAggregatedBalance
- CoinbaseWithdrawal
- CoinbaseWithdrawalAmount
- CoinbaseWithdrawalAmountAdjustment
- CoinbaseWithdrawalAmountValidation
- CoinbaseWithdrawalState
- CoinbaseWithdrawalStatus
- StartCoinbaseWithdrawalOptions
- StartCoinbaseWithdrawalRequest
Session
- SessionStatus
- SessionViewType
- GetSessionViewInput
- Session
- SessionBridgeOrderStatus
- SessionCompletedTransaction
- SessionData
- SessionMerchant
- SessionSwapDetails
- SessionWallet
- canShowCompletedScreen
- getSessionView
- isEvmNetwork
- isExchange
- isSessionActiveForPayments
- isSessionViewEqual
Events
Locales
- SdkLocale
- TranslateFn
- detectBrowserLocale
- getLocale
- isLocaleLoading
- onLocaleChange
- preloadLocales
- setLocale
- setTranslator
- translate
Errors
Enums
- Currency
- DirectDepositDisplay
- IntegrationProvider
- IntegrationProviderType
- Network
- TokenSymbol
- IntegrationProviderExchange
- EXCHANGE_PROVIDER_TYPES
OAuth
Amount Input
- AmountValidationCode
- AmountValidationError
- AmountValidationMetadata
- ConvertCryptoToFiatCeilOptions
- ConvertCryptoToFiatOptions
- ConvertFiatToCryptoOptions
- MaxAmountMode
- SanitizeAmountInputOptions
- ValidateAmountInputInput
- convertCryptoToFiat
- convertCryptoToFiatCeil
- convertFiatToCrypto
- formatAmountForInput
- getAmountValidationMessage
- parseAmountInput
- sanitizeAmountInput
- validateAmountInput
Cash App
- CashApp
- CashAppCompletedTransactionSummary
- CashAppDepositStatus
- CashAppOrder
- CashAppOrderTimeLeft
- CashAppSupportedAsset
- CreateCashAppOrderRequest
- getCashAppAssetKey
- getCashAppOrderTimeLeft
- getCashAppOrderTimeLeftMs
- isCashAppOrderExpired
- toCashAppCompletedTransactionSummary
Networks
- FormatAddressOptions
- NetworkConfig
- formatAddress
- getAddressExplorerUrl
- getNetworkConfig
- getTokenExplorerUrl
- getTransactionExplorerUrl
- resolveNetwork
Type Aliases
- AddressFormatConfig
- AvailableWallet
- CashAppCompletedAmount
- ChainId
- ChainNamespace
- CoinbaseWithdrawalAmountValidationReason
- ExchangePayCompletedTransactionAmount
- GetWalletTransferPlanRequest
- LocaleCatalog
- NetworkExplorerConfig
- RegisterWalletTransferRequest
- ResolvedWalletSdkConfig
- RetryWalletTransferOptions
- SessionBridgeSwapDetails
- SessionSwapFee
- SessionSwapQuoteDetails
- SessionView
- TranslateParams
- WalletBalance
- WalletBalanceFormatted
- WalletBalanceIneligibleReason
- WalletCompletedAddress
- WalletCompletedAmountFormatted
- WalletCompletedFeeType
- WalletCompletedTransactionRef
- WalletConnectionsSort
- WalletConnectionStatus
- WalletDeepLinkRequirement
- WalletDisconnectReason
- WalletId
- WalletNamespaceConnection
- WalletQrScanTarget
- WalletTransferDestination
- WalletTransferFlow
- WalletTransferPlan
- WalletTransferReason
- WalletTransferRestrictions
- WalletTransferStatus
- WalletTransferSupportedCurrency
- WalletTransport
- WalletTxStatus
Variables
- DEFAULT_ADDRESS_FORMAT
- DEFAULT_LOCALE
- LOCAL_REMOTE_CONFIG_DEV_URL
- NETWORK_CONFIGS
- REMOTE_CONFIG_DEFAULTS
- REMOTE_CONFIG_NETWORK_GROUPS
- REMOTE_CONFIG_PLATFORM_CHECKS
- SDK_LNG_PARAM
- SDK_LOCALES_MAJOR_VERSION
- SUPPORTED_LOCALES
Wallets
- Wallets
- WalletsTransfer
- ConnectWalletRequest
- ExecuteWalletTransferRequest
- SendPreparedWalletTransactionRequest
- SendWalletTransactionRequest
- SendWalletTransactionResult
- SignWalletMessageRequest
- WalletAccount
- WalletBalancesForWallet
- WalletBridgeCompletedTransactionSummary
- WalletCompletedAmount
- WalletCompletedFee
- WalletCompletedFiatFee
- WalletCompletedTokenFee
- WalletCompletedTransactionSummary
- WalletConnection
- WalletDirectCompletedTransactionSummary
- WalletsConnectionState
- WalletSdkConfig
- WalletSwapCompletedTransactionSummary
- WalletTransactionStatusEvent
- WalletTransferIssue
- WalletTransferMinAmount
- WalletTransferQuote
- WalletTransferQuoteRequest
- WalletTransferResult
- WalletTransferResultStatus
- WalletTransferStatusEvent
- WalletTransferValidation
- getWalletSdkConfig
- getWalletSupportedNetworks
- isBridgeSwapDetails
- isDesktopBrowser
- isInjectedWalletProvider
- isIOSBrowser
- isMobileBrowser
- isWalletCompletedTransactionReady
- isWalletDisabled
- sortWalletConnections
- toBridgeCompletedTransactionSummary
- toDirectCompletedTransactionSummary
- toSwapCompletedTransactionSummary
- toWalletCompletedTransactionSummary
- walletRequiresDeepLink
- walletRequiresPopup
- walletSupportsWalletConnect