applyTransactions
applyTransactions(
vm): (block,opts) =>Promise<object>
Applies the transactions in a block, computing the receipts as well as gas usage and some relevant data. This method is side-effect free (it doesn’t modify the block nor the state).
Parameters
• vm: BaseVm
Returns
Function
Parameters
• block: Block
• opts: RunBlockOpts
Returns
Promise<object>
bloom
bloom:
Bloom
gasUsed
gasUsed:
bigint
preimages
preimages:
Map<string,Uint8Array>
receipts
receipts:
TxReceipt[]
receiptsRoot
receiptsRoot:
Uint8Array
results
results:
RunTxResult[] =txResults