getAccount
Action for accessing account data and connection status.
import { getAccount } from '@wagmi/core'
Usage
import { getAccount } from '@wagmi/core'
const account = getAccount()
Return Value
{
address?: Address
connector?: Connector
isConnecting: boolean
isReconnecting: boolean
isConnected: boolean
isDisconnected: boolean
status: 'connecting' | 'reconnecting' | 'connected' | 'disconnected'
}