> ## 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.

# prism whatif

> Re-simulate with modified inputs and compare outcomes.

The `whatif` command allows for non-destructive experimentation with failed transactions.

## Usage

```bash theme={null}
prism whatif <TX_HASH> --modify <PATCH_FILE>
```

## Patch Examples

You can modify:

* **Arguments**: Change the values passed to the contract.
* **Ledger Entries**: Simulate a different starting state.
* **Resource Limits**: See if a higher budget would have fixed the failure.
