Class TransferTransactionsFactory

Use this class to create transactions for native token transfers (EGLD) or custom tokens transfers (ESDT/NTF/MetaESDT).

Constructors

  • Should be instantiated using Config and TokenComputer. Instantiating this class using GasEstimator represents the legacy version of this class. The legacy version contains methods like createEGLDTransfer, createESDTTransfer, createESDTNFTTransfer and createMultiESDTNFTTransfer. This was done in order to minimize breaking changes in client code.

    Parameters

    • options: IGasEstimator | {
          config: IConfig;
      }

    Returns TransferTransactionsFactory

Properties

config?: IConfig
gasEstimator?: IGasEstimator
tokenComputer?: TokenComputer
tokenTransfersDataBuilder?: TokenTransfersDataBuilder

Methods