Skip to content

engine_getPayloadBodiesByRangeV2 ​

not served

Given a range of block numbers returns bodies of the corresponding execution payloads including block access lists

Not served yet

Cinder does not serve this method. Planned for v1.1.

For consensus clients only

The consensus client calls this method on the authenticated Engine API port, with the JWT secret. Applications and wallets do not call it.

INFO

This page is generated from the specification. The text comes from the OpenRPC description of the method.

Parameters ​

NameTypeRequiredDescription
Starting block numberstringyeshex encoded 64 bit unsigned integer
Number of blocks to returnstringyeshex encoded 64 bit unsigned integer

Returns ​

object[]: Execution payload bodies

Errors ​

CodeMessage
-38004Too large request

Specification ​

The official specification: engine_getPayloadBodiesByRangeV2 in ethereum/execution-apis.

Schema (OpenRPC) ​

Parameter Starting block number: string
json
{
  "pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
  "title": "hex encoded 64 bit unsigned integer",
  "type": "string"
}
Parameter Number of blocks to return: string
json
{
  "pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
  "title": "hex encoded 64 bit unsigned integer",
  "type": "string"
}
Result: object[]
json
{
  "items": {
    "properties": {
      "blockAccessList": {
        "description": "RLP-encoded block access list as defined in EIP-7928, or null if unavailable",
        "oneOf": [
          {
            "pattern": "^0x[0-9a-f]*$",
            "title": "hex encoded bytes",
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Block access list"
      },
      "transactions": {
        "items": {
          "pattern": "^0x[0-9a-f]*$",
          "title": "hex encoded bytes",
          "type": "string"
        },
        "title": "Transactions",
        "type": "array"
      },
      "withdrawals": {
        "items": {
          "properties": {
            "address": {
              "pattern": "^0x[0-9a-fA-F]{40}$",
              "title": "Withdrawal address",
              "type": "string"
            },
            "amount": {
              "pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
              "title": "Withdrawal amount",
              "type": "string"
            },
            "index": {
              "pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
              "title": "Withdrawal index",
              "type": "string"
            },
            "validatorIndex": {
              "pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
              "title": "Validator index",
              "type": "string"
            }
          },
          "required": [
            "index",
            "validatorIndex",
            "address",
            "amount"
          ],
          "title": "Withdrawal object V1",
          "type": "object"
        },
        "title": "Withdrawals",
        "type": [
          "array",
          "null"
        ]
      }
    },
    "required": [
      "transactions"
    ],
    "title": "Execution payload body object V2",
    "type": "object"
  },
  "type": "array"
}