> ## Documentation Index
> Fetch the complete documentation index at: https://prism-ddf93e61.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# replay_transaction

> Starts a Tier 2/3 simulation.

```rust theme={null}
pub async fn replay_transaction(
    tx_hash: &str,
    state: &ReconstructedState,
    options: ReplayOptions
) -> Result<TraceTimeline, PrismError>
```

Replays a transaction against a reconstructed state snapshot and returns a hierarchical execution trace.
