Skip to main content

engine_newPayloadV1

Runs execution payload validation

Params

(1)

1. Execution payload (required)

parentHash
string
required
Match pattern:
^0x[0-9a-f]{64}$
feeRecipient
string
required
Match pattern:
^0x[0-9,a-f,A-F]{40}$
stateRoot
string
required
Match pattern:
^0x[0-9a-f]{64}$
receiptsRoot
string
required
Match pattern:
^0x[0-9a-f]{64}$
logsBloom
string
required
Match pattern:
^0x[0-9a-f]{512}$
prevRandao
string
required
Match pattern:
^0x[0-9a-f]{64}$
blockNumber
string
required
Match pattern:
^0x([1-9a-f]+[0-9a-f]{0,15})|0$
gasLimit
string
required
Match pattern:
^0x([1-9a-f]+[0-9a-f]{0,15})|0$
gasUsed
string
required
Match pattern:
^0x([1-9a-f]+[0-9a-f]{0,15})|0$
timestamp
string
required
Match pattern:
^0x([1-9a-f]+[0-9a-f]{0,15})|0$
extraData
string
required
Match pattern:
^0x[0-9a-f]{0,64}$
baseFeePerGas
string
required
Match pattern:
^0x([1-9a-f]+[0-9a-f]{0,31})|0$
blockHash
string
required
Match pattern:
^0x[0-9a-f]{64}$
transactions
array[string]
required

Result

(Payload status)
status
string
required
Allowed values:
VALIDINVALIDSYNCINGACCEPTEDINVALID_BLOCK_HASH
latestValidHash
string
Match pattern:
^0x[0-9a-f]{64}$
validationError
string

Params

Execution payload

Transactions*

Request

await window.ethereum.request({
"method": "engine_newPayloadV1",
"params": [
null
]
});