Skip to content

@swapped/connect-sdk / core / AvailableWallet

Type Alias: AvailableWallet ​

AvailableWallet = object

Defined in: src/types/wallets.types.ts:72

A wallet the API offers, paired with how it can be reached here.

Properties ​

icon ​

icon: string | null

Defined in: src/types/wallets.types.ts:75


injectedNamespaces ​

injectedNamespaces: ChainNamespace[]

Defined in: src/types/wallets.types.ts:82

Namespaces this wallet is installed for right now. Empty if not installed.


isDeepLinkConnection ​

isDeepLinkConnection: boolean

Defined in: src/types/wallets.types.ts:96

This device opens the Swapped checkout URL in the wallet app (Phantom / Coinbase on mobile; MetaMask / Bitget on iOS).


isInstalled ​

isInstalled: boolean

Defined in: src/types/wallets.types.ts:80

True when the merchant page can see this extension right now (window globals and/or EIP-6963).


isPopupConnection ​

isPopupConnection: boolean

Defined in: src/types/wallets.types.ts:91

Injected connect for this wallet opens a popup.


name ​

name: string

Defined in: src/types/wallets.types.ts:74


provider ​

provider: IntegrationProvider

Defined in: src/types/wallets.types.ts:73


qrScanTarget ​

qrScanTarget: WalletQrScanTarget | null

Defined in: src/types/wallets.types.ts:102

How the user should scan a desktop connect QR, or null when the wallet is not in the SDK config. camera - HTTPS browse URL. wallet-app - WalletConnect wc: URI.


supportsWalletConnect ​

supportsWalletConnect: boolean

Defined in: src/types/wallets.types.ts:87

WalletConnect is offered for this wallet on this device. False when the wallet uses a browse deeplink instead (e.g. Phantom).


transports ​

transports: WalletTransport[]

Defined in: src/types/wallets.types.ts:89

Transports usable right now, in the order worth offering them.