Skip to content

@swapped/connect-sdk / react / UseWalletConnectionsResult

Type Alias: UseWalletConnectionsResult ​

UseWalletConnectionsResult = object

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

Properties ​

activeWallet ​

activeWallet: WalletConnection | null

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


activeWalletId ​

activeWalletId: WalletId | null

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


connections ​

connections: WalletConnection[]

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


connectionState ​

connectionState: WalletsConnectionState

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


isRestoring ​

isRestoring: boolean

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


pairingDeeplinkUrl ​

pairingDeeplinkUrl: string | null

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


pairingUri ​

pairingUri: string | null

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


setActiveWallet ​

setActiveWallet: (walletId) => void

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

Parameters ​

walletId ​

WalletId

Returns ​

void