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?: string
connector?: Connector
isConnecting: boolean
isReconnecting: boolean
isConnected: boolean
isDisconnected: boolean
status: 'connecting' | 'reconnecting' | 'connected' | 'disconnected'
}