Private _tagThe tag used to identify the current VM version.
Static Private Readonly TAG_The index of the field used for tag serialization.
Static Private Readonly VM_Internal tag representing Casper VM Version 1.
Static Private Readonly VM_Internal tag representing Casper VM Version 2.
Static fromJSONCreates an instance of TransactionRuntime from a JSON string.
A TransactionRuntime instance matching the specified type.
Will throw an error if the provided JSON does not match known VM versions.
The JSON string representing the type of the transaction runtime.
Static vmCreates a new instance representing the Casper Version 1 Virtual Machine.
A TransactionRuntime instance configured for VM Version 1.
Static vmCreates a new instance representing the Casper Version 2 Virtual Machine.
A TransactionRuntime instance configured for VM Version 2.
Generated using TypeDoc
Represents a runtime environment for Casper transactions. This class distinguishes between different versions of the Casper Virtual Machine (VM).