Whether a session exists and whether the wallet is locked. Connected-but-locked is a CIP-0103 state wagmi has no equivalent for, and it follows the wallet's own pushes, so never poll it.
with no CantonConnectProvider above it.
const { isLocked } = useWalletStatus()isLocked && <p>Wallet locked — unlock it to continue.</p> Copy
const { isLocked } = useWalletStatus()isLocked && <p>Wallet locked — unlock it to continue.</p>
Whether a session exists and whether the wallet is locked. Connected-but-locked is a CIP-0103 state wagmi has no equivalent for, and it follows the wallet's own pushes, so never poll it.