Skip to content

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/react-query!home | `tanstack` wrapper around the `watchWalletStatus()` action

UseQueryResult<WalletStatusReturnType, Error>

The query hook wrapping the watchWalletStatus() action The data result is a `WalletStatusReturnType`

  • `watchWalletStatus()` for more info about the underlying action
  • @tanstack/react-query!useQuery | `useQuery()` for more info about the useQuery response