Skip to main content

Interface: ApiKeyCreatedEvent

Gala Launchpad SDK 9.0.0-rc.5


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

Interface: ApiKeyCreatedEvent

Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:370

Emitted when an API key is created. Broadcast to user-specific room (user:{address}) - private to owner.

Properties​

createdAt​

createdAt: string

Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:384

ISO 8601 timestamp of when the API key was created


description?​

optional description?: string

Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:380

Optional description of the API key's purpose


keyId​

keyId: string

Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:374

Unique identifier for the API key


keyPrefix?​

optional keyPrefix?: string

Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:376

Optional prefix/display portion of the API key


name?​

optional name?: string

Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:378

Optional friendly name for the API key


permissions?​

optional permissions?: string[]

Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:382

Optional list of permissions granted to this API key


tokenName?​

optional tokenName?: string

Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:372

Optional token name associated with the API key