Simulate by Calldata
POST/v1/simulate-transaction
Simulates a Starknet transaction from raw felt calldata, human-readable decoded calls, or an existing transaction hash fetched via a custom RPC. The request body is an externally tagged union: the variant name (WithCalldata, WithDecodedCalldata, or WithTxHash) is the outer JSON key.
Request
Responses
- 200
- 400
Simulation successful.
The simulation failed. The original request body is echoed back in simulation_args.