useCurrentAccount
@iota/dapp-kit / useCurrentAccount
Function: useCurrentAccount()
useCurrentAccount():
WalletAccount|null
Defined in: sdk/dapp-kit/src/hooks/wallet/useCurrentAccount.ts:12
Retrieves the wallet account that is currently selected, if one exists.
Returns
WalletAccount | null