Skip to content
Alchemy Logo

alchemy_simulateExecution

POST
/{apiKey}

Simulates a single transaction's execution and returns decoded traces/logs.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

enumrequired

Specifies whether to return a 'NESTED' or 'FLAT' call structure.

Allowed values:

objectrequired

Transaction object to simulate.

enumrequired

The block context to use: 'latest', 'safe', 'finalized', or 'earliest'.

Allowed values:

Responses

200

The decoded execution traces and logs produced by simulating the transaction.

Was this page helpful?