+
+```jsx
+import { useWalletSelector } from "@near-wallet-selector/react-hook";
+
+const MyComponent = () => {
+ const { getAccount, signedAccountId } = useWalletSelector();
+ const fetchAccountInfo = async (accountId) => {
+ const account = await getAccount(signedAccountId);
+ console.log(account);
+ };
+ useEffect(() => {
+ fetchAccountInfo();
+ }, []);
+
+ return Check console for account info
;
+};
+```
+
+
+