Skip to main content

index/interfaces/GraduationCalculationResult.md

Extended result for graduation calculations

Includes the remaining token quantity needed to graduate the pool, in addition to the standard amount calculation fields.

Since​

4.0.2

Extends​

Properties​

PropertyTypeDescriptionInherited from
amountstringCalculated token amountAmountCalculationResult.amount
gasFeestringGas fee (fixed at 1 GALA)AmountCalculationResult.gasFee
remainingTokensstringRemaining tokens to buy for graduation (token quantity, not GALA cost) This is the actual number of tokens that need to be purchased to reach the max supply and trigger graduation. Use this value as the amount parameter when calling buy() with type: 'exact'.-
reverseBondingCurveFeestringReverse bonding curve feeAmountCalculationResult.reverseBondingCurveFee
transactionFeestringTransaction feesAmountCalculationResult.transactionFee