alchemy_simulateExecution

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

Path Params
string
required
Defaults to docs-demo

For higher throughput, create your own API key.

Body Params
integer
Defaults to 1
string
Defaults to 2.0
string
Defaults to alchemy_simulateExecution
array
params
Response

Response body
object
integer
required
Defaults to 1
string
required
Defaults to 2.0
object
required
array of objects
required
calls*
object
string
required

CALL STATICCALL DELEGATECALL

string
required
length between 42 and 42
Defaults to 0xd8da6bf26964af9d7eed9e03e53415d37aa96045

address the transaction is sent from

string
required
length between 42 and 42
Defaults to 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48

address the transaction is directed to

string
required

(type 0) amount in wei per unit of gas

string
required
string
required
string
required
required
array of objects
required
logs*
object
array of strings
required
topics*
string
required
string
required
required
string
required
string | null

The reason why a transaction would revert. This provides you with the ability to understand the cause behind a transaction's potential failure before actually executing it. For example, a revert reason could be "ERC20: transfer amount exceeds allowance".

Language
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json
Support Hub
ReadMe