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.
Private
Optional
Readonly
configPrivate
Optional
Readonly
gasPrivate
Optional
Readonly
tokenPrivate
Optional
Readonly
tokenPrivate
computeThis is a legacy method. Can only be used if the class was instantiated using GasEstimator
.
Use createTransactionForNativeTokenTransfer instead.
Optional
data?: ITransactionPayloadOptional
gasOptional
gasOptional
nonce?: INonceThis is a legacy method. Can only be used if the class was instantiated using GasEstimator
.
Use createTransactionForESDTTokenTransfer instead.
This is a legacy method. Can only be used if the class was instantiated using GasEstimator
.
Use createTransactionForESDTTokenTransfer instead.
This is a legacy method. Can only be used if the class was instantiated using GasEstimator
.
Use createTransactionForESDTTokenTransfer instead.
Private
createPrivate
ensurePrivate
isPrivate
is
Use this class to create transactions for native token transfers (EGLD) or custom tokens transfers (ESDT/NTF/MetaESDT).