ethereumjs-monorepo

@ethereumjs/tx


@ethereumjs/tx / createMinimal4844TxFromNetworkWrapper

Function: createMinimal4844TxFromNetworkWrapper()

createMinimal4844TxFromNetworkWrapper(txData, opts?): Blob4844Tx

Defined in: 4844/constructors.ts:302

Creates the minimal representation of a blob transaction from the network wrapper version. The minimal representation is used when adding transactions to an execution payload/block

Parameters

txData

Blob4844Tx

a Blob4844Tx containing optional blobs/kzg commitments

opts?

TxOptions

dictionary of TxOptions

Returns

Blob4844Tx

the “minimal” representation of a Blob4844Tx (i.e. transaction object minus blobs and kzg commitments)