Constructors
constructor
- new GasEstimator(gasConfiguration?: IGasConfiguration): GasEstimator
Parameters
Optional
gasConfiguration: IGasConfiguration
Methods
forEGLDTransfer
- forEGLDTransfer(dataLength: number): number
Returns number
forESDTNFTTransfer
- forESDTNFTTransfer(dataLength: number): number
Returns number
forESDTTransfer
- forESDTTransfer(dataLength: number): number
Returns number
forMultiESDTNFTTransfer
- forMultiESDTNFTTransfer(dataLength: number, numTransfers: number): number
Parameters
- dataLength: number
- numTransfers: number
Returns number
Deprecated
This will be remove with the next release as the only place where it is used is a deprecated constructor.