useAccount
Use this hook to read the connected account data.
const connectedAccount = useAccount();
Return Values
- The
name
property stores the name of the account. - The
address
property stores the address of the account.
Use this hook to read the connected account data.
const connectedAccount = useAccount();
name
property stores the name of the account.address
property stores the address of the account.