avalancheAPI-PlatformVM-Transactions

Module: API-PlatformVM-Transactions

Index

Classes

Functions

Functions

Const SelectTxClass

SelectTxClass(txtype: number, …args: Array‹any›): BaseTx

Defined in src/apis/platformvm/tx.ts:83

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

Parameters:

Name Type Description
txtype number The id of the transaction type
...args Array‹any› -

Returns: BaseTx

An instance of an BaseTx-extended class.