engine_newPayloadV2
Runs execution payload validation
Params
(1)1. Execution payload (required)
Execution payload object V1
(one of)
parentHash
stringMatch pattern:
^0x[0-9a-f]{64}$
feeRecipient
stringMatch pattern:
^0x[0-9,a-f,A-F]{40}$
stateRoot
stringMatch pattern:
^0x[0-9a-f]{64}$
receiptsRoot
stringMatch pattern:
^0x[0-9a-f]{64}$
logsBloom
stringMatch pattern:
^0x[0-9a-f]{512}$
prevRandao
stringMatch pattern:
^0x[0-9a-f]{64}$
blockNumber
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]{0,15})|0$
gasLimit
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]{0,15})|0$
gasUsed
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]{0,15})|0$
timestamp
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]{0,15})|0$
extraData
stringMatch pattern:
^0x[0-9a-f]{0,64}$
baseFeePerGas
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]{0,31})|0$
blockHash
stringMatch pattern:
^0x[0-9a-f]{64}$
transactions
array[string]Result
(Payload status)status
stringAllowed values:
VALIDINVALIDSYNCINGACCEPTED
latestValidHash
stringMatch pattern:
^0x[0-9a-f]{64}$
validationError
stringErrors
Code | Message |
---|---|
-32602 | Invalid params |