api_platformvm_transactions
avalanche › API-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:
Name | Type | Description |
---|---|---|
txtype | number | The id of the transaction type |
...args | any[] | - |
Returns: BaseTx
An instance of an BaseTx-extended class.