Skip to main content

api_evm_transactions

avalancheAPI-EVM-Transactions

Module: API-EVM-Transactions

Index

Classes

Functions

Functions

Const SelectTxClass

SelectTxClass(txTypeID: number, ...args: any[]): EVMBaseTx

Defined in src/apis/evm/tx.ts:32

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

Parameters:

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

Returns: EVMBaseTx

An instance of an EVMBaseTx-extended class.