Appearance
engine_getPayloadBodiesByHashV2
not served
Given block hashes 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
| Name | Type | Required | Description |
|---|---|---|---|
Array of block hashes | string[] | yes |
Returns
object[]: Execution payload bodies
Errors
| Code | Message |
|---|---|
| -38004 | Too large request |
Specification
The official specification: engine_getPayloadBodiesByHashV2 in ethereum/execution-apis.
Schema (OpenRPC)
Parameter Array of block hashes: string[]
json
{
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"type": "array"
}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"
}