Skip to content

engine_newPayloadV5 ​

not served

Runs execution payload validation

Not served yet

Cinder does not serve this method. Planned for v1.1. Comes with the Amsterdam fork. Until then the node answers -38005 (Unsupported fork).

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
Execution payloadobjectyesExecution payload object V4
Expected blob versioned hashesstring[]yes
Parent beacon block rootstringyes32 byte hex value
Execution requestsstring[]yes

Returns ​

object: Payload status

Errors ​

CodeMessage
-32602Invalid params
-38005Unsupported fork

Specification ​

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

Schema (OpenRPC) ​

Parameter Execution payload: object
json
{
  "properties": {
    "baseFeePerGas": {
      "pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
      "title": "Base fee per gas",
      "type": "string"
    },
    "blobGasUsed": {
      "pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
      "title": "Blob gas used",
      "type": "string"
    },
    "blockAccessList": {
      "pattern": "^0x[0-9a-f]*$",
      "title": "Block access list",
      "type": "string"
    },
    "blockHash": {
      "pattern": "^0x[0-9a-f]{64}$",
      "title": "Block hash",
      "type": "string"
    },
    "blockNumber": {
      "pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
      "title": "Block number",
      "type": "string"
    },
    "excessBlobGas": {
      "pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
      "title": "Excess blob gas",
      "type": "string"
    },
    "extraData": {
      "pattern": "^0x[0-9a-f]{0,64}$",
      "title": "Extra data",
      "type": "string"
    },
    "feeRecipient": {
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "title": "Recipient of transaction priority fees",
      "type": "string"
    },
    "gasLimit": {
      "pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
      "title": "Gas limit",
      "type": "string"
    },
    "gasUsed": {
      "pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
      "title": "Gas used",
      "type": "string"
    },
    "logsBloom": {
      "pattern": "^0x[0-9a-f]{512}$",
      "title": "Bloom filter",
      "type": "string"
    },
    "parentHash": {
      "pattern": "^0x[0-9a-f]{64}$",
      "title": "Parent block hash",
      "type": "string"
    },
    "prevRandao": {
      "pattern": "^0x[0-9a-f]{64}$",
      "title": "Previous randao value",
      "type": "string"
    },
    "receiptsRoot": {
      "pattern": "^0x[0-9a-f]{64}$",
      "title": "Receipts root",
      "type": "string"
    },
    "slotNumber": {
      "pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
      "title": "Slot number",
      "type": "string"
    },
    "stateRoot": {
      "pattern": "^0x[0-9a-f]{64}$",
      "title": "State root",
      "type": "string"
    },
    "timestamp": {
      "pattern": "^0x(0|[1-9a-f][0-9a-f]{0,15})$",
      "title": "Timestamp",
      "type": "string"
    },
    "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"
    }
  },
  "required": [
    "parentHash",
    "feeRecipient",
    "stateRoot",
    "receiptsRoot",
    "logsBloom",
    "prevRandao",
    "blockNumber",
    "gasLimit",
    "gasUsed",
    "timestamp",
    "extraData",
    "baseFeePerGas",
    "blockHash",
    "transactions",
    "withdrawals",
    "blobGasUsed",
    "excessBlobGas",
    "blockAccessList",
    "slotNumber"
  ],
  "title": "Execution payload object V4",
  "type": "object"
}
Parameter Expected blob versioned hashes: string[]
json
{
  "items": {
    "pattern": "^0x[0-9a-f]{64}$",
    "title": "32 byte hex value",
    "type": "string"
  },
  "type": "array"
}
Parameter Parent beacon block root: string
json
{
  "pattern": "^0x[0-9a-f]{64}$",
  "title": "32 byte hex value",
  "type": "string"
}
Parameter Execution requests: string[]
json
{
  "items": {
    "pattern": "^0x[0-9a-f]*$",
    "title": "hex encoded bytes",
    "type": "string"
  },
  "type": "array"
}
Result: object
json
{
  "properties": {
    "latestValidHash": {
      "pattern": "^0x[0-9a-f]{64}$",
      "title": "The hash of the most recent valid block",
      "type": "string"
    },
    "status": {
      "enum": [
        "VALID",
        "INVALID",
        "SYNCING",
        "ACCEPTED"
      ],
      "title": "Payload validation status",
      "type": "string"
    },
    "validationError": {
      "title": "Validation error message",
      "type": "string"
    }
  },
  "required": [
    "status"
  ],
  "title": "Payload status object deprecating INVALID_BLOCK_HASH status",
  "type": "object"
}