Skip to main content

index/interfaces/CreateSaleInput.md

Input for a CreateSale bundler write (createSale). The pre-flight refuses only what the deployed bundler or the chain refuses (see create-sale-validation.ts): a name of letters and digits, a symbol of letters and digits in any case (the chain upper-cases it), a plain decimal pre-buy and curve portions (signed in their canonical spelling), a non-empty description (at most 1000 characters) and image (at most 500).

Since​

9.0.0

Extends​

Properties​

PropertyTypeDescriptionInherited from
facebookUrl?stringFacebook page URL (optional)LaunchTokenData.facebookUrl
instagramUrl?stringInstagram profile URL (optional)LaunchTokenData.instagramUrl
preBuyQuantity?stringPre-buy quantity as decimal string (defaults to "0")LaunchTokenData.preBuyQuantity
privateKey?stringOptional private key override for this operation (format: '0x' + 64 hex characters)LaunchTokenData.privateKey
redditUrl?stringReddit community URL (optional)LaunchTokenData.redditUrl
reverseBondingCurveConfiguration?ReverseBondingCurveConfigurationReverse bonding curve configuration (optional). Defaults to { minFeePortion: "0.1", maxFeePortion: "0.5" } if not provided. When provided, must satisfy: minFee >= 0.1, maxFee >= minFee, maxFee <= 0.5LaunchTokenData.reverseBondingCurveConfiguration
saleStartTime?numberUnix timestamp (seconds) for when the sale should start. If omitted or undefined, the sale starts immediately upon creation. Must be a future timestamp (greater than current time).LaunchTokenData.saleStartTime
telegramUrl?stringTelegram channel URL (optional)LaunchTokenData.telegramUrl
tiktokUrl?stringTikTok profile URL (optional)LaunchTokenData.tiktokUrl
tokenCategory?stringToken category (defaults to 'Unit')LaunchTokenData.tokenCategory
tokenCollection?stringToken collection (defaults to 'Token')LaunchTokenData.tokenCollection
tokenDescriptionstringToken description (max 500 characters)LaunchTokenData.tokenDescription
tokenImagestring--
tokenNamestringToken name (lowercase, alphanumeric, max 10 chars)LaunchTokenData.tokenName
tokenSymbolstringToken symbol (3-10 characters)LaunchTokenData.tokenSymbol
twitterUrl?stringTwitter profile URL (optional)LaunchTokenData.twitterUrl
uniqueKey?string--
websiteUrl?stringWebsite URL (optional)LaunchTokenData.websiteUrl