Alchemy Logo

starknet_simulateTransactions

POST
/{apiKey}

Simulates the execution of the specified transactions at the specified block.

Path Parameters

apiKeystringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

transactionsobject[]required

A sequence of Starknet transactions to simulate. If multiple transactions are provided, each transaction is simulated on the state resulting from applying the previous transactions.

The transaction schema, as it appears inside a block

block_idobject or enumrequired

The block identifier

Block hash, number or tag

simulation_flagsenum[]required

A set of flags used for simulation

Responses

200

A sequence of transaction simulation results

Was this page helpful?