Interface: UpdateTokenConfigOptions
Gala Launchpad SDK 9.0.0-rc.5 / index / UpdateTokenConfigOptions
Interface: UpdateTokenConfigOptions
Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:98
Options for updating token configuration (PATCH /v1/tokens/:tokenName/config)
Supports all fields on the backend's UpdateTokenConfigDto:
- Chat/comments/streaming toggles
- Stream countdown (nextLiveStreamAt) and language
- Social link URLs (
nullclears one: the backend skips its pattern check for null)
At least one field must be provided. The bonding curve's fees are not configurable after launch.
Example
// Disable chat for a token
await sdk.updateTokenConfig('anime', { chatEnabled: false });
// Clear the website link
await sdk.updateTokenConfig('anime', { websiteUrl: null });
Since
7.1.0
Properties
chatEnabled?
optionalchatEnabled?:boolean
Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:100
Whether chat messages are enabled for this token
commentsEnabled?
optionalcommentsEnabled?:boolean
Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:102
Whether comments are enabled for this token
facebookUrl?
optionalfacebookUrl?:string|null
Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:118
Facebook URL (null to clear)
instagramUrl?
optionalinstagramUrl?:string|null
Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:116
Instagram URL (null to clear)
nextLiveStreamAt?
optionalnextLiveStreamAt?:string|null
Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:106
ISO 8601 timestamp for next scheduled live stream (countdown UX). Set to null to clear.
redditUrl?
optionalredditUrl?:string|null
Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:120
Reddit URL (null to clear)
streamingEnabled?
optionalstreamingEnabled?:boolean
Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:104
Whether streaming is enabled for this token
streamLanguage?
optionalstreamLanguage?:string
Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:108
ISO 639-1 language code for the stream (e.g. 'en', 'es', 'ja')
telegramUrl?
optionaltelegramUrl?:string|null
Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:112
Telegram URL (null to clear)
tiktokUrl?
optionaltiktokUrl?:string|null
Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:122
TikTok URL (null to clear)
twitterUrl?
optionaltwitterUrl?:string|null
Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:114
Twitter/X URL (null to clear)
websiteUrl?
optionalwebsiteUrl?:string|null
Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:110
Website URL (null to clear)