useAccount
Use this hook to read the connected account data.
const connectedAccount = useAccount();
Return Values
- The
nameproperty stores the name of the account. - The
addressproperty 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.