Appearance
eth_simulateV1
served · same as reth
Simulates one or more blocks of calls on top of a block and returns the blocks, the results and the logs.
When to use
Use it to preview a sequence of transactions, for example an approve and then a swap, with the effects of each call on the next.
Example
bash
curl -s -X POST -H 'Content-Type: application/json' \
--data '{"jsonrpc": "2.0", "id": 1, "method": "eth_simulateV1", "params": [{"blockStateCalls": [{"calls": [{"to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "data": "0x18160ddd"}]}]}, "0x18facad"]}' \
http://127.0.0.1:8547json
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_simulateV1",
"params": [
{
"blockStateCalls": [
{
"calls": [
{
"to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"data": "0x18160ddd"
}
]
}
]
},
"0x18facad"
]
}Response
Live mainnet, block 26193069, 2026-10-14. Checked against reth 2.7: equal.
json
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"hash": "0xbf57ffdf443193dfad23f019eae6cba800c7607f13595d4146211c248c62ca22",
"parentHash": "0x88392e71b7c4893c80cadfdeadcbaa91add6a41a1a9e2bda3aef6774053617a5",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"miner": "0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97",
"stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
"transactionsRoot": "0x2bf10fdc5d16e291d171c916c8fdd478ba744bc72f9355d9285d5cef568f0f64",
"receiptsRoot": "0xd6a865d2751c846656e63a7bad1c25892e30a52cfc382bf9f89ccdf10effd5bb",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000... 114 more characters",
"difficulty": "0x0",
"number": "0x18facae",
"gasLimit": "0x3938700",
"gasUsed": "0x7827",
"timestamp": "0x6acfe2f3",
"extraData": "0x546974616e2028746974616e6275696c6465722e78797a29",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0000000000000000",
"baseFeePerGas": "0x0",
"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"blobGasUsed": "0x0",
"excessBlobGas": "0xb42389d",
"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"size": "0x2b1",
"uncles": [],
"transactions": [
"0x257322ffb47847c8e6b25efc2913f8774cc234acba7cbea314f21931e989489c"
],
"withdrawals": [],
"calls": [
{
"returnData": "0x00000000000000000000000000000000000000000000000000ab38d270bbc858",
"logs": [],
"gasUsed": "0x7827",
"maxUsedGas": "0x7827",
"status": "0x1"
}
]
}
]
}Parameters
| Name | Type | Required | Meaning |
|---|---|---|---|
payload | object, see Simulate payload | yes | The blocks of calls to simulate. |
block | block number in hex, or a tag, see Block parameter | no | The block to build on. The head or one of the 128 blocks before it. Default: latest. |
The main fields of payload. The Simulate payload page has all of them.
| Field | Type | Meaning |
|---|---|---|
blockStateCalls | list of at most 256 blocks | The blocks to simulate, in order. Each block has calls, and optional stateOverrides and blockOverrides. |
validation | boolean | Check the calls as real transactions: nonces, balances, the base fee. Default: false. |
traceTransfers | boolean | Add a log for each ether transfer (from the address 0xeeee...eeee). Default: false. |
returnFullTransactions | boolean | Return full transaction objects in the blocks, not hashes. Default: false. |
Returns
A list with one simulated block per item of blockStateCalls. Each block has the fields of a block and calls. Each call has status, returnData, gasUsed, maxUsedGas, logs and, when it failed, error. maxUsedGas is the gas that the call used before the refund. See Block.
Notes and limits
- At most 256 blocks for each request.
- Each simulated block has by default the next number and a time 12 seconds later than the block before.
- A
numberoverride after a gap first gives empty blocks for the missing numbers, 12 seconds apart. These blocks count to the limit of 256. parentBeaconBlockRootis zero unless abeaconRootblock override sets it.- A fee that the call does not give is 0, not the base fee. Without validation, the node accepts a fee under the base fee.
- The EIP-7825 gas limit cap does not apply.
- Calls without
gasshare the remaining gas of the block, at most the gas cap each. - A call with
blobVersionedHashesruns as a blob transaction (type 3) without a sidecar. It needstoandmaxFeePerBlobGas. - A call that reverts has
returnData0xand the revert data inerror.data. BLOCKHASHof an earlier simulated block gives the hash of that block. TheblockHashoverrides and the simulated blocks form one map: the last value for a number is the answer.- On a block more than 128 blocks below the head, the state is not available. As in reth, the error comes only when a simulated block reads the state. These read the state: a state override, a call, and the system call of a block from Cancun on. The checks of the block order come before it. Thus blocks before Cancun with no calls and no state overrides give the empty simulated blocks. A block before the merge reads the state for its block reward.
Errors
| Code | Message | When |
|---|---|---|
| -38026 | too many blocks | More than 256 blocks. |
| -38020 | block numbers must be in order: N <= M | A block override number does not increase. |
| -38021 | block timestamps must be in order: N <= M | A block override time does not increase. |
| -38015 | Block gas limit exceeded by the block's transactions | The gas of the calls is above the gas limit of the block. |
| -38010 | nonce too low: next nonce N, tx nonce M | With validation: a nonce is too low. |
| -38014 | insufficient funds for gas * price + value: have X want Y | With validation: a sender cannot pay. |
| -32602 | calls are empty. | blockStateCalls is empty. |
| -32602 | Failed to convert transaction into RPC response: Transaction is not buildable | A blob or EIP-7702 call has no to. Or a blob call has no maxFeePerBlobGas. |
| -32003 | max fee per blob gas less than block blob gas fee | maxFeePerBlobGas is below the blob base fee. |
| 4444 | pruned history unavailable: requested N, earliest available M | The state is gone. A block before Cancun reads it. |
| -32603 | failed to apply beacon root contract call at 0x...: database error: Database error: insufficient changesets to revert to block #N. Available changeset range: M..=K | The state is gone. A block is from Cancun on. Prague: the blockhash contract call. |
| -32603 | incrementing balance in post execution failed | The state is gone. The first block is before the merge (block reward). |
Compared with reth
The blocks, the call results and the errors are those of reth 2.7, with maxUsedGas in each call result.
The live example above gives the same answer on Cinder and on reth 2.7.
Related methods
Schema (OpenRPC)
The official specification: eth_simulateV1 in ethereum/execution-apis.
Parameter Payload: Arguments for eth_simulate
json
{
"properties": {
"blockStateCalls": {
"description": "Definition of blocks that can contain calls and overrides",
"properties": {
"blockOverrides": {
"description": "Block overrides can be used to replace fields in a block.\ndefault: no block override.",
"properties": {
"baseFeePerGas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "Base fee per unit of gas",
"type": "string"
},
"blobBaseFee": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "Base fee per unit of blob gas",
"type": "string"
},
"feeRecipient": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "Fee Recipient (also known as coinbase)",
"type": "string"
},
"gasLimit": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "Gas limit",
"type": "string"
},
"number": {
"description": "When overriding block numbers across multiple blocks, block number need to be increasing. Skipping over blocks numbers is possible. If block number is not specified, it's incremented by one for each block.",
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "Number",
"type": "string"
},
"prevRandao": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "The Previous value of randomness beacon",
"type": "string"
},
"time": {
"description": "Time must either increase or remain constant relative to the previous block. If time is not specified, it's incremented by one for each block.",
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "Time",
"type": "string"
},
"withdrawals": {
"description": "This array can have a maximum length of 16.",
"items": {
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "recipient address for withdrawal value",
"type": "string"
},
"amount": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "value contained in withdrawal",
"type": "string"
},
"index": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "index of withdrawal",
"type": "string"
},
"validatorIndex": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "index of validator that generated withdrawal",
"type": "string"
}
},
"required": [
"index",
"validatorIndex",
"address",
"amount"
],
"title": "Validator withdrawal",
"type": "object"
},
"title": "Withdrawals made by validators",
"type": "array"
}
},
"title": "Block overrides",
"type": "object"
},
"calls": {
"description": "List of transactions to execute at this block/state.\nDefault: []",
"items": {
"properties": {
"accessList": {
"description": "EIP-2930 access list\nDefault: []",
"items": {
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "hex encoded address",
"type": "string"
},
"storageKeys": {
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"type": "array"
}
},
"required": [
"address",
"storageKeys"
],
"title": "Access list entry",
"type": "object"
},
"title": "accessList",
"type": "array"
},
"blobVersionedHashes": {
"description": "EIP-4844 versioned hashes\nDefault: []",
"pattern": "^0x[0-9a-f]{64}$",
"title": "Blob versioned hashes",
"type": "string"
},
"from": {
"description": "Default: null",
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "from address",
"type": "string"
},
"gas": {
"description": "Default: Remaining gas in the current block",
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "gas limit",
"type": "string"
},
"gasPrice": {
"description": "The gas price willing to be paid by the sender in wei\nDefault: 0",
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "gas price",
"type": "string"
},
"input": {
"description": "Default: no data",
"pattern": "^0x[0-9a-f]*$",
"title": "input data",
"type": "string"
},
"maxFeePerBlobGas": {
"description": "The maximum total fee per blob gas the sender is willing to pay in wei\nDefault: 0",
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "max fee per blob gas",
"type": "string"
},
"maxFeePerGas": {
"description": "The maximum total fee per gas the sender is willing to pay (includes the network / base fee and miner / priority fee) in wei\nDefault: 0",
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "max fee per gas",
"type": "string"
},
"maxPriorityFeePerGas": {
"description": "Maximum fee per gas the sender is willing to pay to miners in wei\nDefault: 0",
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "max priority fee per gas",
"type": "string"
},
"nonce": {
"description": "Default: Defaults to correct nonce",
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "nonce",
"type": "string"
},
"to": {
"description": "Default: 0x0",
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "to address",
"type": "string"
},
"type": {
"description": "Default: 0x2",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "type",
"type": "string"
},
"value": {
"description": "Default: 0",
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "value",
"type": "string"
}
},
"title": "Transaction object type for call",
"type": "object"
},
"title": "calls",
"type": "array"
},
"stateOverrides": {
"additionalProperties": false,
"description": "State overrides can be used to replace existing blockchain state with new state.\nDefault: no state overrides",
"patternProperties": {
"^0x[a-fA-F0-9]{40}$": {
"oneOf": [
{
"description": "It is possible to override any kind of address (EOA's, contracts and precompiles)",
"properties": {
"balance": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "Balance",
"type": "string"
},
"code": {
"pattern": "^0x[0-9a-f]*$",
"title": "Code",
"type": "string"
},
"movePrecompileToAddress": {
"description": "Moves addresses precompile into the specified address. This move is done before the 'code' override is set. When the specified address is not a precompile, the behaviour is undefined and different clients might behave differently.",
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "MovePrecompileToAddress",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "Nonce",
"type": "string"
},
"state": {
"additionalProperties": false,
"description": "Key-value mapping to override all slots in the account storage before executing the call. This functions similar to eth_call's state parameter.",
"patternProperties": {
"^0x[a-fA-F0-9]{64}$": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
}
},
"title": "Storage",
"type": "object"
}
},
"required": [
"state"
],
"title": "Account override with whole storage replacement"
},
{
"properties": {
"balance": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "Balance",
"type": "string"
},
"code": {
"pattern": "^0x[0-9a-f]*$",
"title": "Code",
"type": "string"
},
"movePrecompileToAddress": {
"description": "Moves addresses precompile into the specified address. This move is done before the 'code' override is set. Can only move precompiles.",
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "MovePrecompileToAddress",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "Nonce",
"type": "string"
},
"stateDiff": {
"additionalProperties": false,
"description": "Key-value mapping to override individual slots in the account storage before executing the call. This functions similar to eth_call's state parameter.",
"patternProperties": {
"^0x[a-fA-F0-9]{64}$": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
}
},
"title": "Storage difference",
"type": "object"
}
},
"required": [
"stateDiff"
],
"title": "Account override with partial storage modification"
}
],
"title": "Details of an account to be overridden",
"type": "object"
}
},
"title": "State overrides",
"type": "object"
}
},
"title": "Block State Calls",
"type": "array"
},
"returnFullTransactions": {
"description": "When true, the method returns full transaction objects, otherwise, just hashes are returned.",
"title": "Return Full Transactions",
"type": "boolean"
},
"traceTransfers": {
"description": "Adds ETH transfers as ERC20 transfer events to the logs. These transfers have emitter contract parameter set as address(0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee).\nDefault: false.",
"title": "Trace ETH Transfers",
"type": "boolean"
},
"validation": {
"description": "When true, the eth_simulateV1 does all validations that a normal EVM would do, except contract sender and signature checks. When false, eth_simulateV1 behaves like eth_call.\nDefault: false.",
"title": "Validation",
"type": "boolean"
}
},
"required": [
"blockStateCalls"
],
"title": "Arguments for eth_simulate"
}Parameter Block tag: Block number or Block tag or Block hash
json
{
"anyOf": [
{
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Block number",
"type": "string"
},
{
"description": "`earliest`: The lowest numbered block the client has available; `finalized`: The most recent crypto-economically secure block, cannot be re-orged outside of manual intervention driven by community coordination; `safe`: The most recent block that is safe from re-orgs under honest majority and certain synchronicity assumptions; `latest`: The most recent block in the canonical chain observed by the client, this block may be re-orged out of the canonical chain even under healthy/normal conditions; `pending`: A sample next block built by the client on top of `latest` and containing the set of transactions usually taken from local mempool. Before the merge transition is finalized, any call querying for `finalized` or `safe` block MUST be responded to with `-39001: Unknown block` error",
"enum": [
"earliest",
"finalized",
"safe",
"latest",
"pending"
],
"title": "Block tag",
"type": "string"
},
{
"pattern": "^0x[0-9a-f]{64}$",
"title": "Block hash",
"type": "string"
}
],
"title": "Block number, tag, or block hash"
}Result: object[]
json
{
"items": {
"properties": {
"baseFeePerGas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Base fee per gas",
"type": "string"
},
"blobGasUsed": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Blob gas used",
"type": "string"
},
"blockAccessListHash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "EIP-7928 block access list hash",
"type": "string"
},
"calls": {
"items": {
"oneOf": [
{
"description": "The error messages are suggestions, and clients might implement different error messages. However, the error codes are enforced by the spec.",
"properties": {
"error": {
"oneOf": [
{
"properties": {
"code": {
"const": 3
},
"message": {
"pattern": "^execution reverted.*",
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
{
"properties": {
"code": {
"const": -32015
},
"message": {
"pattern": "^vm execution error.*",
"type": "string"
}
},
"type": "object"
}
]
},
"gasUsed": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "Return gasUsed",
"type": "string"
},
"maxUsedGas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "Maximum gas used during execution before refunds",
"type": "string"
},
"returnData": {
"pattern": "^0x[0-9a-f]*$",
"title": "Return data",
"type": "string"
},
"status": {
"pattern": "^0x0$",
"title": "Call Status Failure",
"type": "string"
}
},
"required": [
"status",
"returnData",
"gasUsed",
"error"
],
"title": "Result of call failure",
"type": "object"
},
{
"properties": {
"gasUsed": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "Return gasUsed",
"type": "string"
},
"logs": {
"items": {
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "address",
"type": "string"
},
"blockHash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "block hash",
"type": "string"
},
"blockNumber": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "block number",
"type": "string"
},
"blockTimestamp": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "block timestamp",
"type": "string"
},
"data": {
"pattern": "^0x[0-9a-f]*$",
"title": "data",
"type": "string"
},
"logIndex": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "log index",
"type": "string"
},
"removed": {
"title": "removed",
"type": "boolean"
},
"topics": {
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 hex encoded bytes",
"type": "string"
},
"title": "topics",
"type": "array"
},
"transactionHash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "transaction hash",
"type": "string"
},
"transactionIndex": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "transaction index",
"type": "string"
}
},
"required": [
"transactionHash"
],
"title": "log",
"type": "object"
},
"title": "Return logs",
"type": "array"
},
"maxUsedGas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "Maximum gas used during execution before refunds",
"type": "string"
},
"returnData": {
"pattern": "^0x[0-9a-f]*$",
"title": "Return data",
"type": "string"
},
"status": {
"pattern": "^0x1$",
"title": "Call Status Success",
"type": "string"
}
},
"required": [
"status",
"returnData",
"gasUsed",
"logs"
],
"title": "Result of call success",
"type": "object"
}
]
},
"title": "Call Results",
"type": "array"
},
"difficulty": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Difficulty",
"type": "string"
},
"excessBlobGas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Excess blob gas",
"type": "string"
},
"extraData": {
"pattern": "^0x[0-9a-f]*$",
"title": "Extra data",
"type": "string"
},
"gasLimit": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Gas limit",
"type": "string"
},
"gasUsed": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Gas used",
"type": "string"
},
"hash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Hash",
"type": "string"
},
"logsBloom": {
"pattern": "^0x[0-9a-f]{512}$",
"title": "Bloom filter",
"type": "string"
},
"miner": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "Coinbase",
"type": "string"
},
"mixHash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Mix hash",
"type": "string"
},
"nonce": {
"pattern": "^0x[0-9a-f]{16}$",
"title": "Nonce",
"type": "string"
},
"number": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Number",
"type": "string"
},
"parentBeaconBlockRoot": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Parent Beacon Block Root",
"type": "string"
},
"parentHash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Parent block hash",
"type": "string"
},
"receiptsRoot": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Receipts root",
"type": "string"
},
"requestsHash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "EIP-7685 requests hash",
"type": "string"
},
"sha3Uncles": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Ommers hash",
"type": "string"
},
"size": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Block size",
"type": "string"
},
"stateRoot": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "State root",
"type": "string"
},
"timestamp": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Timestamp",
"type": "string"
},
"transactions": {
"anyOf": [
{
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"title": "Transaction hashes",
"type": "array"
},
{
"items": {
"oneOf": [
{
"properties": {
"accessList": {
"description": "EIP-2930 access lists",
"items": {
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "hex encoded address",
"type": "string"
},
"storageKeys": {
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"type": "array"
}
},
"required": [
"address",
"storageKeys"
],
"title": "Access list entry",
"type": "object"
},
"title": "accessList",
"type": "array"
},
"authorizationList": {
"description": "List of authorizations for the transaction",
"items": {
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "hex encoded address",
"type": "string"
},
"chainId": {
"description": "Chain ID on which this transaction is valid",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "chainId",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "nonce",
"type": "string"
},
"r": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "r",
"type": "string"
},
"s": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "s",
"type": "string"
},
"yParity": {
"description": "The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "yParity",
"type": "string"
}
},
"required": [
"chainId",
"nonce",
"address",
"yParity",
"r",
"s"
],
"type": "object"
},
"title": "authorizationList",
"type": "array"
},
"chainId": {
"description": "Chain ID that this transaction is valid on",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "chainId",
"type": "string"
},
"gas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas limit",
"type": "string"
},
"gasPrice": {
"description": "The effective gas price paid by the sender in wei. For transactions not yet included in a block, this value should be set equal to the max fee per gas. This field is DEPRECATED, please transition to using effectiveGasPrice in the receipt object going forward.",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas price",
"type": "string"
},
"input": {
"pattern": "^0x[0-9a-f]*$",
"title": "input data",
"type": "string"
},
"maxFeePerGas": {
"description": "The maximum total fee per gas the sender is willing to pay (includes the network / base fee and miner / priority fee) in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max fee per gas",
"type": "string"
},
"maxPriorityFeePerGas": {
"description": "Maximum fee per gas the sender is willing to pay to miners in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max priority fee per gas",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "nonce",
"type": "string"
},
"r": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "r",
"type": "string"
},
"s": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "s",
"type": "string"
},
"to": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "to address",
"type": "string"
},
"type": {
"pattern": "^0x4$",
"title": "type",
"type": "string"
},
"v": {
"description": "For backwards compatibility, `v` is optionally provided as an alternative to `yParity`. This field is DEPRECATED and all use of it should migrate to `yParity`.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "v",
"type": "string"
},
"value": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "value",
"type": "string"
},
"yParity": {
"description": "The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "yParity",
"type": "string"
}
},
"required": [
"accessList",
"authorizationList",
"chainId",
"gas",
"input",
"maxFeePerGas",
"maxPriorityFeePerGas",
"nonce",
"r",
"s",
"to",
"type",
"value",
"yParity"
],
"title": "Signed 7702 Transaction",
"type": "object"
},
{
"properties": {
"accessList": {
"description": "EIP-2930 access list",
"items": {
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "hex encoded address",
"type": "string"
},
"storageKeys": {
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"type": "array"
}
},
"required": [
"address",
"storageKeys"
],
"title": "Access list entry",
"type": "object"
},
"title": "accessList",
"type": "array"
},
"blobVersionedHashes": {
"description": "List of versioned blob hashes associated with the transaction's EIP-4844 data blobs",
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"title": "blobVersionedHashes",
"type": "array"
},
"chainId": {
"description": "Chain ID that this transaction is valid on",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "chainId",
"type": "string"
},
"gas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas limit",
"type": "string"
},
"gasPrice": {
"description": "The effective gas price paid by the sender in wei. For transactions not yet included in a block, this value should be set equal to the max fee per gas. This field is DEPRECATED, please transition to using effectiveGasPrice in the receipt object going forward.",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas price",
"type": "string"
},
"input": {
"pattern": "^0x[0-9a-f]*$",
"title": "input data",
"type": "string"
},
"maxFeePerBlobGas": {
"description": "The maximum total fee per gas the sender is willing to pay for blob gas in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max fee per blob gas",
"type": "string"
},
"maxFeePerGas": {
"description": "The maximum total fee per gas the sender is willing to pay (includes the network / base fee and miner / priority fee) in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max fee per gas",
"type": "string"
},
"maxPriorityFeePerGas": {
"description": "Maximum fee per gas the sender is willing to pay to miners in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max priority fee per gas",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "nonce",
"type": "string"
},
"r": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "r",
"type": "string"
},
"s": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "s",
"type": "string"
},
"to": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "to address",
"type": "string"
},
"type": {
"pattern": "^0x3$",
"title": "type",
"type": "string"
},
"v": {
"description": "For backwards compatibility, `v` is optionally provided as an alternative to `yParity`. This field is DEPRECATED and all use of it should migrate to `yParity`.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "v",
"type": "string"
},
"value": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "value",
"type": "string"
},
"yParity": {
"description": "The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "yParity",
"type": "string"
}
},
"required": [
"accessList",
"blobVersionedHashes",
"chainId",
"gas",
"input",
"maxFeePerBlobGas",
"maxFeePerGas",
"maxPriorityFeePerGas",
"nonce",
"r",
"s",
"to",
"type",
"value",
"yParity"
],
"title": "Signed 4844 Transaction",
"type": "object"
},
{
"properties": {
"accessList": {
"description": "EIP-2930 access list",
"items": {
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "hex encoded address",
"type": "string"
},
"storageKeys": {
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"type": "array"
}
},
"required": [
"address",
"storageKeys"
],
"title": "Access list entry",
"type": "object"
},
"title": "accessList",
"type": "array"
},
"chainId": {
"description": "Chain ID that this transaction is valid on.",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "chainId",
"type": "string"
},
"gas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas limit",
"type": "string"
},
"gasPrice": {
"description": "The effective gas price paid by the sender in wei. For transactions not yet included in a block, this value should be set equal to the max fee per gas. This field is DEPRECATED, please transition to using effectiveGasPrice in the receipt object going forward.",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas price",
"type": "string"
},
"input": {
"pattern": "^0x[0-9a-f]*$",
"title": "input data",
"type": "string"
},
"maxFeePerGas": {
"description": "The maximum total fee per gas the sender is willing to pay (includes the network / base fee and miner / priority fee) in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max fee per gas",
"type": "string"
},
"maxPriorityFeePerGas": {
"description": "Maximum fee per gas the sender is willing to pay to miners in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max priority fee per gas",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "nonce",
"type": "string"
},
"r": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "r",
"type": "string"
},
"s": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "s",
"type": "string"
},
"to": {
"oneOf": [
{
"title": "Contract Creation (null)",
"type": "null"
},
{
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "Address",
"type": "string"
}
],
"title": "to address"
},
"type": {
"pattern": "^0x2$",
"title": "type",
"type": "string"
},
"v": {
"description": "For backwards compatibility, `v` is optionally provided as an alternative to `yParity`. This field is DEPRECATED and all use of it should migrate to `yParity`.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "v",
"type": "string"
},
"value": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "value",
"type": "string"
},
"yParity": {
"description": "The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "yParity",
"type": "string"
}
},
"required": [
"accessList",
"chainId",
"gas",
"gasPrice",
"input",
"maxFeePerGas",
"maxPriorityFeePerGas",
"nonce",
"r",
"s",
"type",
"value",
"yParity"
],
"title": "Signed 1559 Transaction",
"type": "object"
},
{
"properties": {
"accessList": {
"description": "EIP-2930 access list",
"items": {
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "hex encoded address",
"type": "string"
},
"storageKeys": {
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"type": "array"
}
},
"required": [
"address",
"storageKeys"
],
"title": "Access list entry",
"type": "object"
},
"title": "accessList",
"type": "array"
},
"chainId": {
"description": "Chain ID that this transaction is valid on.",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "chainId",
"type": "string"
},
"gas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas limit",
"type": "string"
},
"gasPrice": {
"description": "The gas price willing to be paid by the sender in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas price",
"type": "string"
},
"input": {
"pattern": "^0x[0-9a-f]*$",
"title": "input data",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "nonce",
"type": "string"
},
"r": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "r",
"type": "string"
},
"s": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "s",
"type": "string"
},
"to": {
"oneOf": [
{
"title": "Contract Creation (null)",
"type": "null"
},
{
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "Address",
"type": "string"
}
],
"title": "to address"
},
"type": {
"pattern": "^0x1$",
"title": "type",
"type": "string"
},
"v": {
"description": "For backwards compatibility, `v` is optionally provided as an alternative to `yParity`. This field is DEPRECATED and all use of it should migrate to `yParity`.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "v",
"type": "string"
},
"value": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "value",
"type": "string"
},
"yParity": {
"description": "The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature.",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "yParity",
"type": "string"
}
},
"required": [
"accessList",
"chainId",
"gas",
"gasPrice",
"input",
"nonce",
"r",
"s",
"type",
"value",
"yParity"
],
"title": "Signed 2930 Transaction",
"type": "object"
},
{
"properties": {
"chainId": {
"description": "Chain ID that this transaction is valid on.",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "chainId",
"type": "string"
},
"gas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas limit",
"type": "string"
},
"gasPrice": {
"description": "The gas price willing to be paid by the sender in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas price",
"type": "string"
},
"input": {
"pattern": "^0x[0-9a-f]*$",
"title": "input data",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "nonce",
"type": "string"
},
"r": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "r",
"type": "string"
},
"s": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "s",
"type": "string"
},
"to": {
"oneOf": [
{
"title": "Contract Creation (null)",
"type": "null"
},
{
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "Address",
"type": "string"
}
],
"title": "to address"
},
"type": {
"pattern": "^0x0$",
"title": "type",
"type": "string"
},
"v": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "v",
"type": "string"
},
"value": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "value",
"type": "string"
}
},
"required": [
"gas",
"gasPrice",
"input",
"nonce",
"r",
"s",
"type",
"v",
"value"
],
"title": "Signed Legacy Transaction",
"type": "object"
}
],
"properties": {
"blockHash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "block hash",
"type": "string"
},
"blockNumber": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "block number",
"type": "string"
},
"blockTimestamp": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "block timestamp",
"type": "string"
},
"from": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "from address",
"type": "string"
},
"hash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "transaction hash",
"type": "string"
},
"transactionIndex": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "transaction index",
"type": "string"
}
},
"required": [
"blockHash",
"blockNumber",
"blockTimestamp",
"from",
"hash",
"transactionIndex"
],
"title": "Transaction information",
"type": "object"
},
"title": "Full transactions",
"type": "array"
}
]
},
"transactionsRoot": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Transactions root",
"type": "string"
},
"uncles": {
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"title": "Uncles",
"type": "array"
},
"withdrawals": {
"items": {
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "recipient address for withdrawal value",
"type": "string"
},
"amount": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "value contained in withdrawal",
"type": "string"
},
"index": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "index of withdrawal",
"type": "string"
},
"validatorIndex": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
"title": "index of validator that generated withdrawal",
"type": "string"
}
},
"required": [
"index",
"validatorIndex",
"address",
"amount"
],
"title": "Validator withdrawal",
"type": "object"
},
"title": "Withdrawals",
"type": "array"
},
"withdrawalsRoot": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Withdrawals root",
"type": "string"
}
},
"required": [
"calls",
"extraData",
"gasLimit",
"gasUsed",
"hash",
"logsBloom",
"miner",
"mixHash",
"nonce",
"number",
"parentHash",
"receiptsRoot",
"sha3Uncles",
"size",
"stateRoot",
"timestamp",
"transactions",
"transactionsRoot",
"uncles"
],
"title": "Result of eth_simulate block-level, with array of calls",
"type": "object"
},
"title": "Full results of eth_simulate",
"type": "array"
}