
Transaction Simulator

Simulate transactions on any EVM chain

Custom simulations
Run custom simulations with full control over transaction inputs, parameters, contract code, and contract states.

Simulation bundles
Test chained, interdependent transactions that involve multiple steps to preview complex executions.

Asset transfers
Get a list of the expected asset transfers to ensure your transactions execute with the desired results.
Industry-recognized simulations for successful DeFi transactions

Asset & balance changes
See the expected asset and balance changes for ERC-20 and ERC-721 tokens with corresponding dollar values.

Transaction status
Make sure your transactions execute successfully and with the intended results before sending them on-chain.

100% accurate gas estimates
Determine how much gas is needed for successful execution to prevent failures caused by out-of-gas errors.

Human-readable errors
Get a warning with a clear, human-readable message on the cause of potential transaction failure.

Transaction execution data
Analyze transaction execution, including emitted events, state changes, and involved contracts.

Shareable links
Share links to failed transaction simulations to quickly find a solution with your team.
Indispensable simulation infrastructure for transaction insights

Powering major DeFi solutions
How to simulate transactions
curl https://mainnet.gateway.tenderly.co/$TENDERLY_NODE_ACCESS_KEY
-X POST
-H "Content-Type: application/json"
-d '{
"id": 0,
"jsonrpc": "2.0",
"method": "tenderly_simulateTransaction",
"params": [
{
"from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"gas": "0x0",
"gasPrice": "0x0",
"value": "0x0",
"data": "0xa9059cbb00000000000000000000000020a5814b73ef3537c6e099a0d45c798f4bd6e1d60000000000000000000000000000000000000000000000000000000000000001"
},
"latest"
]
}'