api_avm_operations
avalanche › API-AVM-Operations
Module: API-AVM-Operations
Index
Classes
Variables
Functions
Variables
Const
bintools
• bintools: BinTools = BinTools.getInstance()
Defined in src/apis/avm/ops.ts:29
Const
buffer
• buffer: SerializedType = "Buffer"
Defined in src/apis/avm/ops.ts:32
Const
cb58
• cb58: SerializedType = "cb58"
Defined in src/apis/avm/ops.ts:31
Const
decimalString
• decimalString: SerializedType = "decimalString"
Defined in src/apis/avm/ops.ts:34
Const
hex
• hex: SerializedType = "hex"
Defined in src/apis/avm/ops.ts:33
Const
serialization
• serialization: Serialization = Serialization.getInstance()
Defined in src/apis/avm/ops.ts:30
Functions
Const
SelectOperationClass
▸ SelectOperationClass(opid
: number, ...args
: any[]): Operation
Defined in src/apis/avm/ops.ts:43
Takes a buffer representing the output and returns the proper Operation instance.
Parameters:
Name | Type | Description |
---|---|---|
opid | number | A number representing the operation ID parsed prior to the bytes passed in |
...args | any[] | - |
Returns: Operation
An instance of an Operation-extended class.