/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_pricebooleanOptional
If true, replaces the transaction's gas unit price with the estimated value.
estimate_max_gas_amountbooleanOptional
If true, overrides the max gas with the estimated maximum.
estimate_prioritized_gas_unit_pricebooleanOptional
If true, uses a higher gas price than the standard estimate to prioritize the transaction.

Request

This endpoint expects an object.
senderstringRequired
sequence_numberstringRequired
max_gas_amountstringRequired
gas_unit_pricestringRequired
expiration_timestamp_secsstringRequired
payloadobjectRequired
signatureobjectRequired

Response

Simulation results including execution status and events.
versionstring or null
hashstring or null
gas_usedstring or null
successboolean or null
vm_statusstring or null
typestring or null
senderstring or null
sequence_numberstring or null
max_gas_amountstring or null
gas_unit_pricestring or null
expiration_timestamp_secsstring or null
payloadobject or null
signatureobject or null