Skip to main content

api_platformvm_outputs

avalancheAPI-PlatformVM-Outputs

Module: API-PlatformVM-Outputs

Index

Classes

Variables

Functions

Variables

Const bintools

bintools: BinTools = BinTools.getInstance()

Defined in src/apis/platformvm/outputs.ts:19


Const serialization

serialization: Serialization = Serialization.getInstance()

Defined in src/apis/platformvm/outputs.ts:20

Functions

Const SelectOutputClass

SelectOutputClass(outputid: number, ...args: any[]): Output

Defined in src/apis/platformvm/outputs.ts:29

Takes a buffer representing the output and returns the proper Output instance.

Parameters:

NameTypeDescription
outputidnumberA number representing the inputID parsed prior to the bytes passed in
...argsany[]-

Returns: Output

An instance of an Output-extended class.