Skip to content

@swapped/connect-sdk / wallet-verification-react / UseWalletVerificationConnectionsResult

Type Alias: UseWalletVerificationConnectionsResult ​

UseWalletVerificationConnectionsResult = object

Defined in: src/react/wallet-verification/hooks/useWalletVerificationConnections.ts:20

Result of useWalletVerificationConnections.

Properties ​

connections ​

connections: WalletConnection[]

Defined in: src/react/wallet-verification/hooks/useWalletVerificationConnections.ts:22

Already-approved sessions for the current network. Pass walletId + transport into verify().


error ​

error: Error | null

Defined in: src/react/wallet-verification/hooks/useWalletVerificationConnections.ts:25


isLoading ​

isLoading: boolean

Defined in: src/react/wallet-verification/hooks/useWalletVerificationConnections.ts:24

true until the first connections list arrives.


refetch ​

refetch: () => Promise<void>

Defined in: src/react/wallet-verification/hooks/useWalletVerificationConnections.ts:27

Fetch connections again.

Returns ​

Promise<void>