Skip to main content

Interface: UserBannedEvent

Gala Launchpad SDK 9.0.0-rc.5


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

Interface: UserBannedEvent

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

WebSocket event USER_BANNED

Sent to the banned user's sockets and, with userAddress added, to the overseer room. The backend omits reason and expiresAt when there are none (it does not send null).

Since​

5.5.0

Properties​

expiresAt?​

optional expiresAt?: string

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

Expiration timestamp (ISO 8601); absent for a permanent ban


isGlobal​

isGlobal: boolean

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

Whether this is a global ban


isPermanent​

isPermanent: boolean

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

Whether this is a permanent ban


reason?​

optional reason?: string

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

Ban reason


tokenName​

tokenName: string | null

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

Token name (null for global ban)


userAddress?​

optional userAddress?: string

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

Banned user's address: present on the overseer room's copy only