The connected account and status, as the wallet reports it. account is undefined until a connect succeeds, and again whenever a restored session is locked.
account
undefined
with no CantonConnectProvider above it.
const { account } = useAccount()if (account === undefined) return <p>No session.</p>return <span>{account.hint}</span> Copy
const { account } = useAccount()if (account === undefined) return <p>No session.</p>return <span>{account.hint}</span>
The connected account and status, as the wallet reports it.
accountisundefineduntil a connect succeeds, and again whenever a restored session is locked.