avalancheAVMAPI-Operations

Module: AVMAPI-Operations

Index

Classes

Variables

Functions

Variables

Const bintools

bintools: BinTools‹› = BinTools.getInstance()

Defined in apis/avm/ops.ts:10

Functions

Const SelectOperationClass

SelectOperationClass(opid: number, …args: Array‹any›): Operation

Defined in apis/avm/ops.ts:19

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 Array‹any› -

Returns: Operation

An instance of an Operation-extended class.