Skip to main content

Interface: FetchPoolsOptions

Gala Launchpad SDK 9.0.0-rc.5


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

Interface: FetchPoolsOptions

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

Public-facing options for fetching pools. type and streamStatus are taken in any case and sent as the backend spells them; a value the backend does not accept is refused with a ValidationError, never dropped.

Since​

6.11.0 - Now extends SearchablePaginationOptions for DRY compliance

Updated​

9.0.0 - The backend's uppercase spellings; pageSize up to 100

Extends​

Properties​

creatorAddress?​

optional creatorAddress?: string

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

Only pools created by this address: eth|<40 hex> or client|<24 hex> (a 0x-prefixed or bare 40-hex address is accepted and sent as eth|...). An empty string or any other value is a ValidationError; leave it out for no filter.

Since​

9.0.0-rc.2


cursor?​

optional cursor?: string

Defined in: packages/launchpad-sdk/dist/types/common.d.ts:498

Cursor token for fetching the next page (omit for first page) - for cursor-based pagination

Inherited from​

SearchablePaginationOptions.cursor


hasRecordings?​

optional hasRecordings?: boolean

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

Only pools that have at least one recording (recordingsCount > 0). Only true is sent (see hasUpcomingShows).

Since​

5.8.0


hasUpcomingShows?​

optional hasUpcomingShows?: boolean

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

Only pools with nextLiveStreamAt in the future (has upcoming shows). Only true is sent: the backend reads any value of this parameter as true, so false means "no filter".

Since​

5.7.0


isGraduated?​

optional isGraduated?: boolean

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

Graduation filter: true for graduated pools only, false for pools still on the bonding curve. Both values are sent ("true" / "false": the backend reads this parameter strictly, unlike hasUpcomingShows / hasRecordings); leave it out for no filter.

Since​

9.0.0-rc.2


language?​

optional language?: string

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

Filter pools by stream language (ISO 639-1 code, e.g., "en", "es", "ja")

Since​

5.7.0


pageSize?​

optional pageSize?: number

Defined in: packages/launchpad-sdk/dist/types/common.d.ts:500

Page size for cursor-based pagination (defaults to 50, max 1000)

Inherited from​

SearchablePaginationOptions.pageSize


recentlyStreamed?​

optional recentlyStreamed?: number

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

Filter pools that have streamed within the last N hours Examples: 24 for last day, 168 for last week, max 720 (30 days)

Since​

5.7.0


optional search?: string

Defined in: packages/launchpad-sdk/dist/types/common.d.ts:526

Fuzzy search filter (case-insensitive, partial matching)

Inherited from​

SearchablePaginationOptions.search


streamStatus?​

optional streamStatus?: "IDLE" | "ACTIVE" | "DISABLED" | "idle" | "active" | "disabled"

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

Filter pools by stream status (IDLE, ACTIVE, DISABLED) Used by overseers for CCTV monitoring grid

Since​

5.10.0


tokenName?​

optional tokenName?: string

Defined in: packages/launchpad-sdk/dist/types/common.d.ts:524

Exact match filter (case-sensitive, strict equality)

Inherited from​

SearchablePaginationOptions.tokenName


type?​

optional type?: "RECENT" | "POPULAR" | "RECORDINGS" | "SECONDS_STREAMED" | "recent" | "popular" | "recordings" | "seconds_streamed"

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

Pool type filter

  • 'RECENT': Sort by creation date (the backend's default)
  • 'POPULAR': Sort by bonding curve percentage
  • 'RECORDINGS': Sort by recordings count (highest first)
  • 'SECONDS_STREAMED': Sort by total seconds streamed (highest first)

Since​

5.8.0 - Added 'recordings' and 'seconds_streamed' options