index/interfaces/UpdateTokenConfigOptions.md
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.
token name update config dto
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
chat enabled comments facebook url instagram next live stream at reddit streaming language telegram tiktok twitter website