# PendingState.isEmpty

Returns whether the transaction touched no accounts and no storage.

## Imports

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

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

## Examples

```ts twoslash
// @noErrors
import { ExecutedTx, PendingState } from 'ox/evm'

const { pendingState } = ExecutedTx.detach(executed)
PendingState.isEmpty(pendingState)
// @log: false
```

## Definition

```ts
function isEmpty(
  state: PendingState,
): boolean
```

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

## Parameters

### state

* **Type:** `PendingState`

Pending state.

#### state.'~changes'

* **Type:** `Changes`

## Return Type

Whether it holds nothing.

`boolean`
