Skip to main content

api_platformvm_transactions

avalancheAPI-PlatformVM-Transactions

Module: API-PlatformVM-Transactions

Index

Classes

Functions

Functions

Const SelectTxClass

SelectTxClass(txtype: number, ...args: any[]): BaseTx

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

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

Parameters:

NameTypeDescription
txtypenumberThe id of the transaction type
...argsany[]-

Returns: BaseTx

An instance of an BaseTx-extended class.