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

> View ledger state changes before and after transaction execution.

The `diff` command shows you exactly what changed in the ledger as a result of the transaction.

## Usage

```bash theme={null}
prism diff <TX_HASH> [FLAGS]
```

## Features

* **Side-by-Side Comparison**: Human-readable view of state changes.
* **Decoded Values**: Ledger entry values are decoded into field names based on the contract metadata.
* **XDR View**: Toggle to see the raw XDR diff for low-level verification.
