Skip to content

@swapped/connect-sdk / react / UseWalletConnectionsResult

Type Alias: UseWalletConnectionsResult

UseWalletConnectionsResult = object

Defined in: src/react/wallets/hooks/useWalletConnections.ts:25

Properties

activeWallet

activeWallet: WalletConnection | null

Defined in: src/react/wallets/hooks/useWalletConnections.ts:28


activeWalletId

activeWalletId: WalletId | null

Defined in: src/react/wallets/hooks/useWalletConnections.ts:27


connections

connections: WalletConnection[]

Defined in: src/react/wallets/hooks/useWalletConnections.ts:26


connectionState

connectionState: WalletsConnectionState

Defined in: src/react/wallets/hooks/useWalletConnections.ts:33


isRestoring

isRestoring: boolean

Defined in: src/react/wallets/hooks/useWalletConnections.ts:30


pairingDeeplinkUrl

pairingDeeplinkUrl: string | null

Defined in: src/react/wallets/hooks/useWalletConnections.ts:32


pairingUri

pairingUri: string | null

Defined in: src/react/wallets/hooks/useWalletConnections.ts:31


setActiveWallet

setActiveWallet: (walletId) => void

Defined in: src/react/wallets/hooks/useWalletConnections.ts:29

Parameters

walletId

WalletId

Returns

void