Skip to content

@swapped/connect-sdk / core / WalletConnection

Type Alias: WalletConnection ​

WalletConnection = object

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

Properties ​

accounts ​

accounts: WalletAccount[]

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

Flattened accounts across all namespaces.


connectedAt ​

connectedAt: number

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


expiresAt? ​

optional expiresAt?: number

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

WalletConnect only; sessions expire on their own schedule.


icon ​

icon: string | null

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


isRestored ​

isRestored: boolean

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

True when restored rather than freshly approved.


name ​

name: string

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


namespaces ​

namespaces: WalletNamespaceConnection[]

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

Namespaces granted by this connect (EVM / Solana / Bitcoin).


provider ​

provider: IntegrationProvider | null

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

Null for a wallet that paired over WalletConnect and isn't in the registry.


requiresPopup? ​

optional requiresPopup?: boolean

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

Injected connection must run privileged actions in the Swapped popup (Trust, or any connect that completed in a popup).


sessionTopic? ​

optional sessionTopic?: string

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

WalletConnect only. Also embedded in walletId (…:wc:${sessionTopic}).


status ​

status: WalletConnectionStatus

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

From background health check; pay/sign only when connected.


transport ​

transport: WalletTransport

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


walletId ​

walletId: WalletId

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