ethereumjs-monorepo

@ethereumjs/block


@ethereumjs/block / createBlockFromExecutionPayload

Function: createBlockFromExecutionPayload()

createBlockFromExecutionPayload(payload, opts?): Promise<Block>

Defined in: block/constructors.ts:306

Method to retrieve a block from an execution payload

Parameters

payload

ExecutionPayload

Execution payload constructed from beacon payload data

opts?

BlockOptions

BlockOptions

Returns

Promise<Block>

The constructed Block object