TypeScript SDK
The official Typescript SDK (`indexer-api-ts`) provides a strictly-typed, high-performance client for interacting with the ZERA Network Indexer API natively in Node.js, React, or React Native.
Pro Tip: Under the hood, the SDK utilizes the robust fetch API and inherently supports edge/serverless environments like Vercel Cloudflare Workers without requiring polyfills. It is strictly typed against the live JSON API schemas.
Installation & Setup
Coming SoonInstall the SDK directly from the NPM registry via the @visiondynamics scope. Requires Node.js 18+ or a modern bundler.
Initializing the Client
Initialize the `ZeraClient` utilizing your master API key. The client automatically handles base URL routing, error mapping, and JSON payload serialization.
Querying the Network
The SDK is intrinsically partitioned into standard V1 modules matching the REST architecture (`transactions`, `blocks`, `wallets`, `governance`, `auth`, `dex`).