Skip to main content

Interface: TokenBanResponseData

Gala Launchpad SDK 9.0.0-rc.5


Gala Launchpad SDK 9.0.0-rc.5 / index / TokenBanResponseData

Interface: TokenBanResponseData

Defined in: packages/launchpad-sdk/dist/types/token-ban.dto.d.ts:48

Token ban response with pool metadata

Extended token ban data that includes pool information for display purposes. This type mirrors the backend TokenBanResponseData structure exactly:

  • Includes full pool metadata (symbol, image, creatorAddress)
  • Used by list/get ban endpoints for enriched display data

Backend reference: launchpad-backend-service/src/api/token-ban/dto/token-ban.dto.ts

Since​

6.x.0

Extends​

Properties​

bannedBy​

bannedBy: string

Defined in: packages/launchpad-sdk/dist/types/token-ban.dto.d.ts:32

Address of user who created the ban, or 'admin'

Inherited from​

TokenBanData.bannedBy


createdAt​

createdAt: string

Defined in: packages/launchpad-sdk/dist/types/token-ban.dto.d.ts:34

Creation timestamp (ISO 8601)

Inherited from​

TokenBanData.createdAt


id​

id: number

Defined in: packages/launchpad-sdk/dist/types/token-ban.dto.d.ts:26

Database ID

Inherited from​

TokenBanData.id


pool?​

optional pool?: object

Defined in: packages/launchpad-sdk/dist/types/token-ban.dto.d.ts:50

Pool metadata associated with the banned token

creatorAddress​

creatorAddress: string

Token creator address

image?​

optional image?: string | null

Token image URL (can be null)

symbol​

symbol: string

Token symbol


reason​

reason: string | null

Defined in: packages/launchpad-sdk/dist/types/token-ban.dto.d.ts:30

Ban reason (optional, max 500 chars)

Inherited from​

TokenBanData.reason


tokenName​

tokenName: string

Defined in: packages/launchpad-sdk/dist/types/token-ban.dto.d.ts:28

Banned token name (lowercase)

Inherited from​

TokenBanData.tokenName