Skip to main content

Interface: UpdateTokenConfigOptions

Gala Launchpad SDK 9.0.0-rc.5


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 (null clears 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?​

optional chatEnabled?: boolean

Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:100

Whether chat messages are enabled for this token


commentsEnabled?​

optional commentsEnabled?: boolean

Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:102

Whether comments are enabled for this token


facebookUrl?​

optional facebookUrl?: string | null

Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:118

Facebook URL (null to clear)


instagramUrl?​

optional instagramUrl?: string | null

Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:116

Instagram URL (null to clear)


nextLiveStreamAt?​

optional nextLiveStreamAt?: 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?​

optional redditUrl?: string | null

Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:120

Reddit URL (null to clear)


streamingEnabled?​

optional streamingEnabled?: boolean

Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:104

Whether streaming is enabled for this token


streamLanguage?​

optional streamLanguage?: 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?​

optional telegramUrl?: string | null

Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:112

Telegram URL (null to clear)


tiktokUrl?​

optional tiktokUrl?: string | null

Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:122

TikTok URL (null to clear)


twitterUrl?​

optional twitterUrl?: string | null

Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:114

Twitter/X URL (null to clear)


websiteUrl?​

optional websiteUrl?: string | null

Defined in: packages/launchpad-sdk/dist/types/token-config.dto.d.ts:110

Website URL (null to clear)