ethereumjs-monorepo

@ethereumjs/block


@ethereumjs/block / createBlockFromExecutionPayload

Function: createBlockFromExecutionPayload()

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

Defined in: block/constructors.ts:325

Method to retrieve a block from an execution payload

Parameters

payload

ExecutionPayload

opts?

BlockOptions

BlockOptions

Returns

Promise<Block>

the block constructed block