/v1/transactions/simulate
Simulates a transaction without committing it to the chain. The output includes transaction events and execution results, but omits state hashes. Useful for estimating gas usage and transaction validity. You must provide a SignedTransaction with a zero-padded signature. Optional flags allow estimating gas price, max gas amount, or using a prioritized gas price.
⚠ This endpoint is only available with Blast access.
Query parameters
estimate_gas_unit_price
If true, replaces the transaction's gas unit price with the estimated value.
estimate_max_gas_amount
If true, overrides the max gas with the estimated maximum.
estimate_prioritized_gas_unit_price
If true, uses a higher gas price than the standard estimate to prioritize the transaction.
Request
This endpoint expects an object.
sender
sequence_number
max_gas_amount
gas_unit_price
expiration_timestamp_secs
payload
signature
Response
Simulation results including execution status and events.
version
hash
gas_used
success
vm_status
type
sender
sequence_number
max_gas_amount
gas_unit_price
expiration_timestamp_secs
payload
signature