Events & State Changes
useWallet is reactive — it re-renders your component automatically when the user switches accounts, changes network, or disconnects. There’s no separate event listener API to wire up.
| Property | Type | Description |
|---|---|---|
connected | boolean | Wallet connection status. |
network | NetworkInfo | null | Current network (Mainnet, Testnet, Devnet). |
account | AccountInfo | null | Active account address and public key. |
wallet | WalletInfo | null | Connected wallet metadata. |
const { connected, network, account } = useWallet()Any component nested under AptosWalletAdapterProvider can read this state through the hook.
Related pages
Last updated on