Skip to main content

index/interfaces/GraduateTokenOptions.md

Options for graduating a token (buying all remaining tokens in the pool)

Properties​

PropertyTypeDescription
calculateAmountMode?"local" | "external"Calculation mode override (optional - defaults to SDK's calculateAmountMode). Use CALCULATION_MODES.LOCAL for instant client-side calculations. Use CALCULATION_MODES.EXTERNAL for network-based GalaChain calculations.
currentSupply?stringCurrent token supply (optional - only used for local mode, auto-fetched if missing)
maxAcceptableReverseBondingCurveFeeSlippageFactor?numberOptional slippage tolerance factor for reverse bonding curve fee (decimal, e.g., 0.01 for 1%)
privateKey?stringOptional private key override for this operation (format: '0x' + 64 hex characters)
slippageToleranceFactor?numberOptional slippage tolerance factor (decimal, e.g., 0.05 for 5%) - inherits from SDK defaults if not provided
tokenNamestringToken name to graduate