Skip to main content

Interface: AccountData

Defined in: packages/ethers-query/src/hooks/useAccount.ts:11

Beta

Data returned by the useAccount hook

Properties​

address​

address: null | string

Defined in: packages/ethers-query/src/hooks/useAccount.ts:13

Beta

The connected account address or null if not connected


chainId​

chainId: null | number

Defined in: packages/ethers-query/src/hooks/useAccount.ts:15

Beta

The current chain ID or null if not connected


isConnected​

isConnected: boolean

Defined in: packages/ethers-query/src/hooks/useAccount.ts:17

Beta

Whether the wallet is currently connected


isConnecting​

isConnecting: boolean

Defined in: packages/ethers-query/src/hooks/useAccount.ts:19

Beta

Whether the wallet is in the process of connecting


isDisconnected​

isDisconnected: boolean

Defined in: packages/ethers-query/src/hooks/useAccount.ts:21

Beta

Whether the wallet is disconnected


isInitialized​

isInitialized: boolean

Defined in: packages/ethers-query/src/hooks/useAccount.ts:23

Beta

Whether the wallet connection has been initialized


provider​

provider: null | Provider

Defined in: packages/ethers-query/src/hooks/useAccount.ts:25

Beta

The current ethers Provider instance or null if not connected