Home

Simulate transactions with eth_simulateV1

POST
https://monad.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Simulates one or more calls against a selected block state. The request may include state overrides and transfer tracing.

Body

application/json

JSON-RPC request body for the eth_simulateV1 method.

jsonrpcstringrequired

JSON-RPC protocol version. Must be 2.0.

idintegerrequired

Client-defined request identifier returned unchanged in the response.

methodstringrequired

JSON-RPC method name.

paramsArray<object | string>required

Parameters for eth_simulateV1. The first item contains simulation options. The second item defines the base block tag.

Show child attributes
One of
blockStateCallsArray<object>required

List of simulated block state calls.

Show child attributes
stateOverridesobject

State override map keyed by account address. Each key is an Ethereum-style address whose state should be overridden.

callsArray<object>required

List of calls to simulate in the block state context.

Show child attributes
fromstringrequired

Sender address used for the simulated call.

tostringrequired

Recipient address or contract address targeted by the simulated call.

gasstring

Maximum gas provided for the simulated call, encoded as a hexadecimal quantity.

valuestring

Native token value transferred by the simulated call, encoded as a hexadecimal quantity.

datastring

Optional calldata for contract execution, encoded as a hexadecimal string.

inputstring

Optional calldata alias used by some Ethereum-compatible clients.

gasPricestring

Optional legacy gas price, encoded as a hexadecimal quantity.

maxFeePerGasstring

Optional EIP-1559 maximum fee per gas, encoded as a hexadecimal quantity. If validation is enabled, this value must be greater than or equal to the block base fee.

maxPriorityFeePerGasstring

Optional EIP-1559 priority fee per gas, encoded as a hexadecimal quantity.

traceTransfersboolean

Enables transfer tracing in the simulation result.

validationboolean

Enables transaction validation during simulation. When enabled, simulated calls must satisfy validation rules such as gas fee checks.

Block tag or block identifier used as the base state for simulation.

string

Response

200OK

Successful JSON-RPC response containing simulated block execution results.

400Bad Request

Invalid JSON-RPC request.