Skip to main content

batch

This module exposes batching defaults used by the SDK's viem transports and paginated Subsquid helpers.

Exports

  • BATCH_CONFIGS — per-chain viem batch settings for HTTP transport and client-side batching
  • SUBSQUID_PAGINATION_LIMIT — default page size used by paginated indexer helpers
import { BATCH_CONFIGS, SUBSQUID_PAGINATION_LIMIT } from "@gmx-io/sdk/configs/batch";

Use this module when you provide custom viem clients or build your own paginated Subsquid fetch loops.