api_platformvm_outputs
avalanche › API-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:
Name | Type | Description |
---|---|---|
outputid | number | A number representing the inputID parsed prior to the bytes passed in |
...args | any[] | - |
Returns: Output
An instance of an Output-extended class.