@ethereumjs/vm
Ƭ EVMProfilerOpts: Object
Name | Type |
---|---|
enabled |
boolean |
Ƭ TxReceipt: PreByzantiumTxReceipt
| PostByzantiumTxReceipt
| EIP4844BlobTxReceipt
Ƭ VMEvents: Object
Name | Type |
---|---|
afterBlock |
(data : AfterBlockEvent , resolve? : (result? : any ) => void ) => void |
afterTx |
(data : AfterTxEvent , resolve? : (result? : any ) => void ) => void |
beforeBlock |
(data : Block , resolve? : (result? : any ) => void ) => void |
beforeTx |
(data : TypedTransaction , resolve? : (result? : any ) => void ) => void |
Ƭ VMProfilerOpts: Object
Name | Type |
---|---|
reportAfterBlock? |
boolean |
reportAfterTx? |
boolean |
▸ encodeReceipt(receipt
, txType
): Uint8Array
Returns the encoded tx receipt.
Name | Type |
---|---|
receipt |
TxReceipt |
txType |
TransactionType |
Uint8Array