Skip to main content

Variable: POOL\_FETCH\_CONFIG

Gala Launchpad SDK 9.0.0-rc.5


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

Variable: POOL_FETCH_CONFIG

const POOL_FETCH_CONFIG: object

Defined in: packages/launchpad-sdk/dist/constants/pagination.d.ts:58

Pool-specific fetch configuration

Max Concurrent Fetches: 5 (parallel page requests) Page Size: 50 (items per pool page)

Type Declaration​

BACKEND_PAGE_SIZE​

readonly BACKEND_PAGE_SIZE: 20

Deprecated​

  • legacy page size constant

MAX_CONCURRENT_FETCHES​

readonly MAX_CONCURRENT_FETCHES: 5

Maximum concurrent pool fetch requests for auto-pagination

PAGE_SIZE​

readonly PAGE_SIZE: 50

Standard page size for pool results (cursor pagination)

Example​

import { POOL_FETCH_CONFIG } from '@gala-chain/launchpad-sdk';

// Fetch multiple pool pages in parallel with concurrency limit
const concurrencyLimit = POOL_FETCH_CONFIG.MAX_CONCURRENT_FETCHES;
const pageSize = POOL_FETCH_CONFIG.PAGE_SIZE;

Updated​

8.0.0 - Updated page size for cursor pagination