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).
create sale
Since
9.0.0
Extends
Omit<LaunchTokenData,"tokenImage">
launch token data image
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
facebookUrl? | string | Facebook page URL (optional) | LaunchTokenData.facebookUrl |
instagramUrl? | string | Instagram profile URL (optional) | LaunchTokenData.instagramUrl |
preBuyQuantity? | string | Pre-buy quantity as decimal string (defaults to "0") | LaunchTokenData.preBuyQuantity |
privateKey? | string | Optional private key override for this operation (format: '0x' + 64 hex characters) | LaunchTokenData.privateKey |
redditUrl? | string | Reddit community URL (optional) | LaunchTokenData.redditUrl |
reverseBondingCurveConfiguration? | ReverseBondingCurveConfiguration | Reverse 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.5 | LaunchTokenData.reverseBondingCurveConfiguration |
saleStartTime? | number | Unix 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? | string | Telegram channel URL (optional) | LaunchTokenData.telegramUrl |
tiktokUrl? | string | TikTok profile URL (optional) | LaunchTokenData.tiktokUrl |
tokenCategory? | string | Token category (defaults to 'Unit') | LaunchTokenData.tokenCategory |
tokenCollection? | string | Token collection (defaults to 'Token') | LaunchTokenData.tokenCollection |
tokenDescription | string | Token description (max 500 characters) | LaunchTokenData.tokenDescription |
tokenImage | string | - | - |
tokenName | string | Token name (lowercase, alphanumeric, max 10 chars) | LaunchTokenData.tokenName |
tokenSymbol | string | Token symbol (3-10 characters) | LaunchTokenData.tokenSymbol |
twitterUrl? | string | Twitter profile URL (optional) | LaunchTokenData.twitterUrl |
uniqueKey? | string | - | - |
websiteUrl? | string | Website URL (optional) | LaunchTokenData.websiteUrl |
facebook url launch token data instagram pre buy quantity private key reddit reverse bonding curve configuration sale start time telegram tiktok category collection description image name symbol twitter unique website