@ethereumjs/block / executionPayloadFromBeaconPayload
executionPayloadFromBeaconPayload(
payload
):ExecutionPayload
Defined in: from-beacon-payload.ts:99
Converts a beacon block execution payload JSON object BeaconPayloadJSON to the ExecutionPayload data needed to construct a Block.
The JSON data can be retrieved from a consensus layer (CL) client on this Beacon API /eth/v2/beacon/blocks/[block number]