# ExecutedTx

Executed transactions awaiting a decision on their state.

## Functions

| Name                | Description                         |
| ------------------- | ----------------------------------- |
| [`ExecutedTx.commit`](/evm/execution/ExecutedTx/commit) | Accepts the transaction's state changes into the EVM. |
| [`ExecutedTx.commitWith`](/evm/execution/ExecutedTx/commitWith) | Streams the transaction's changes to a sink, then accepts them. |
| [`ExecutedTx.detach`](/evm/execution/ExecutedTx/detach) | Moves the transaction's state out of the EVM as owned state. |
| [`ExecutedTx.discard`](/evm/execution/ExecutedTx/discard) | Drops the transaction's state changes, keeping its result. |
| [`ExecutedTx.discardWith`](/evm/execution/ExecutedTx/discardWith) | Streams the transaction's changes to a sink, then drops them. |
| [`ExecutedTx.result`](/evm/execution/ExecutedTx/result) | Returns the transaction's result without resolving its state. |

## Errors

| Name                | Description                         |
| ------------------- | ----------------------------------- |
| [`ExecutedTx.AsyncSinkError`](/evm/execution/ExecutedTx/errors#executedtxasyncsinkerror) | Thrown when a sink callback returned a promise. |
| [`ExecutedTx.ResolvedError`](/evm/execution/ExecutedTx/errors#executedtxresolvederror) | Thrown when an executed transaction is resolved twice. |

## Types

| Name                | Description                         |
| ------------------- | ----------------------------------- |
| [`ExecutedTx.ExecutedTx`](/evm/execution/ExecutedTx/types#executedtxexecutedtx) | A transaction that has executed, with its state changes still pending. |
