Transaction Simulation

Discover Alchemy's Transaction Simulation APIs for predicting the precise impact of a transaction before it reaches the blockchain.

With our Simulation APIs, you can know the exact impact of a transaction before it hits the blockchain.

The Transaction Simulation APIs can help prevent unwanted hacks or theft, so you know exactly what a transaction will do by simulating it before you approve it in your wallet. This means identifying exactly what assets will be transferred, what logs will be emitted, what internal calls will be made, etc., before it even happens.

Asset Changes
Simulates a transaction and returns a full list of asset changes.

Execution Simulation
Simulates a transaction and returns decoded execution traces and decoded logs.

Bundle Simulation
Simulate multiple transactions sequentially.

Fully supported ⚡️

  • Ethereum
  • Polygon
  • Arbitrum
  • Optimism

For practical examples of these APIs you can check out the Transaction Simulation examples page and for frequently asked questions you can check out the Transaction Simulation FAQ page.

ReadMe