@ethereumjs/vm / runTx
▸ generateTxReceipt(tx
: TypedTransaction, txResult
: RunTxResult, blockGasUsed
: BN): Promise<TxReceipt>
Returns the tx receipt.
Name | Type | Description |
---|---|---|
tx |
TypedTransaction | The transaction |
txResult |
RunTxResult | The tx result |
blockGasUsed |
BN | The amount of gas used in the block up until this tx |
Returns: Promise<TxReceipt>
Defined in: runTx.ts:377