# Evm.readAccountInfo

Reads an account through the EVM, including any state it has accepted.

## Imports

:::code-group
```ts [Named]
import { Evm } from 'ox/evm'
```

```ts [Entrypoint]
import * as Evm from 'ox/evm/Evm'
```
:::

## Examples

```ts twoslash
// @noErrors
import { Evm } from 'ox/evm'

Evm.readAccountInfo(
  evm,
  '0x0000000000000000000000000000000000000001'
)
```

## Definition

```ts
function readAccountInfo(
  evm: Evm<true>,
  address: Address.Address,
): Database.Account | undefined
```

**Source:** [src/evm/Evm.ts](https://github.com/wevm/ox/blob/main/src/evm/Evm.ts#L437)

## Parameters

### evm

* **Type:** `Evm<true>`

EVM to read through.

#### evm.'~async'

* **Type:** `asynchronous`

#### evm.'~chainId'

* **Type:** `bigint`

#### evm.'~driver'

* **Type:** `asynchronous extends true ? Driver : undefined`

Drives the asynchronous source, when there is one.

#### evm.'~engine'

* **Type:** `Engine`

### address

* **Type:** `Address.Address`

Account to read.

## Return Type

The account, or `undefined` when it does not exist.

`Promise<Database.Account | undefined>`
