Engine API changes introduced in EIP-6110.
This structure maps onto the deposit object from EIP-6110. The fields are encoded as follows:
pubkey
:DATA
, 48 Byteswithdrawal_credentials
:DATA
, 32 Bytesamount
:QUANTITY
, 64 Bitssignature
:DATA
, 96 Bytesindex
:QUANTITY
, 64 Bits
Note: The amount
value is represented in Gwei.
This structure has the syntax of ExecutionPayloadV2
and appends a single field: deposits
.
parentHash
:DATA
, 32 BytesfeeRecipient
:DATA
, 20 BytesstateRoot
:DATA
, 32 BytesreceiptsRoot
:DATA
, 32 ByteslogsBloom
:DATA
, 256 BytesprevRandao
:DATA
, 32 BytesblockNumber
:QUANTITY
, 64 BitsgasLimit
:QUANTITY
, 64 BitsgasUsed
:QUANTITY
, 64 Bitstimestamp
:QUANTITY
, 64 BitsextraData
:DATA
, 0 to 32 BytesbaseFeePerGas
:QUANTITY
, 256 BitsblockHash
:DATA
, 32 Bytestransactions
:Array of DATA
- Array of transaction objects, each object is a byte list (DATA
) representingTransactionType || TransactionPayload
orLegacyTransaction
as defined in EIP-2718withdrawals
:Array of WithdrawalV1
- Array of withdrawals, each object is anOBJECT
containing the fields of aWithdrawalV1
structure.deposits
:Array of DepositV1
- Array of deposits, each object is anOBJECT
containing the fields of aDepositV1
structure.
- method:
engine_newPayloadV6110
- params:
ExecutionPayloadV2
|ExecutionPayloadV6110
, where:ExecutionPayloadV1
MUST be used if thetimestamp
value is lower than the EIP-6110 activation timestamp,ExecutionPayloadV6110
MUST be used if thetimestamp
value is greater or equal to the EIP-6110 activation timestamp,- Client software MUST return
-32602: Invalid params
error if the wrong version of the structure is used in the method call.
- timeout: 8s
Refer to the response for engine_newPayloadV2
.
This method follows the same specification as engine_newPayloadV2
.
- method:
engine_getPayloadV6110
- params:
payloadId
:DATA
, 8 Bytes - Identifier of the payload build process
- timeout: 1s
Refer to the response for engine_getPayloadV2
with the following change:
executionPayload
data structure is changed toExecutionPayloadV6110
.
Refer to the specification for engine_getPayloadV2
.