Documentation / @frak-labs/react-sdk / useWalletStatus
Function: useWalletStatus()
useWalletStatus():
UseQueryResult<WalletStatusReturnType,Error>
Defined in: react/src/hook/useWalletStatus.ts:22
Hook that return a query helping to get the current wallet status.
It's a `tanstack` wrapper around the `watchWalletStatus()` action
Returns
UseQueryResult<WalletStatusReturnType, Error>
The query hook wrapping the watchWalletStatus() action
The data result is a `WalletStatusReturnType`
See
- `watchWalletStatus()` for more info about the underlying action
- `useQuery()` for more info about the useQuery response