Skip to main content

api_avm_transactions

avalancheAPI-AVM-Transactions

Module: API-AVM-Transactions

Index

Classes

Functions

Functions

Const SelectTxClass

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

Defined in src/apis/avm/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.