Skip to main content

index/interfaces/TokenBanResponseData.md

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​

PropertyTypeDescriptionInherited from
bannedBystringAddress of user who created the ban, or 'admin'TokenBanData.bannedBy
createdAtstringCreation timestamp (ISO 8601)TokenBanData.createdAt
idnumberDatabase IDTokenBanData.id
pool?objectPool metadata associated with the banned token-
pool.creatorAddressstringToken creator address-
pool.image?string | nullToken image URL (can be null)-
pool.symbolstringToken symbol-
reasonstring | nullBan reason (optional, max 500 chars)TokenBanData.reason
tokenNamestringBanned token name (lowercase)TokenBanData.tokenName