# 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.Evm,
  address: Address.Address,
): Database.Account | undefined
```

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

## Parameters

### evm

* **Type:** [`Evm.Evm`](/evm/execution/Evm/types#evmevm)

EVM to read through.

#### evm.'~engine'

* **Type:** `Engine`

### address

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

Account to read.

## Return Type

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

`Database.Account | undefined`
