Skip to content

engine_getPayloadV1 ​

not served

Obtains execution payload from payload build process

Not served yet

Cinder does not serve this method. Planned for v1.0. Block building for forks before Prague. Until then the node answers -38001 (Unknown payload) to an unknown payload ID. It answers -38005 (Unsupported fork) to a payload ID that it has.

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
Payload idstringyes8 hex encoded bytes

Returns ​

object: Execution payload

Errors ​

CodeMessage
-38001Unknown payload

Specification ​

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

Schema (OpenRPC) ​

Parameter Payload id: string
json
{
  "pattern": "^0x[0-9a-f]{16}$",
  "title": "8 hex encoded bytes",
  "type": "string"
}
Result: object
json
{
  "properties": {
    "baseFeePerGas": {
      "pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
      "title": "Base fee per gas",
      "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"
    },
    "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"
    },
    "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"
    }
  },
  "required": [
    "parentHash",
    "feeRecipient",
    "stateRoot",
    "receiptsRoot",
    "logsBloom",
    "prevRandao",
    "blockNumber",
    "gasLimit",
    "gasUsed",
    "timestamp",
    "extraData",
    "baseFeePerGas",
    "blockHash",
    "transactions"
  ],
  "title": "Execution payload object V1",
  "type": "object"
}