Skip to content

generateTxReceipt

generateTxReceipt(vm): (tx, txResult, cumulativeGasUsed, blobGasUsed?, blobGasPrice?) => Promise<TxReceipt>

Returns the tx receipt.

Parameters

vm: BaseVm

Returns

Function

Parameters

tx: TypedTransaction

txResult: RunTxResult

cumulativeGasUsed: bigint

blobGasUsed?: bigint

blobGasPrice?: bigint

Returns

Promise<TxReceipt>

Defined in

packages/vm/src/actions/generateTxResult.ts:23