Skip to main content

Documentation Index

Fetch the complete documentation index at: https://injectivelabs-mintlify-jp-developers-first-half-1777019423.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Example code snippets to query the chain via the peggy api.

Using gRPC

import { ChainGrpcPeggyApi } from "@injectivelabs/sdk-ts/client/chain";
import { getNetworkEndpoints, Network } from "@injectivelabs/networks";

const endpoints = getNetworkEndpoints(Network.Testnet);
const chainGrpcPeggyApi = new ChainGrpcPeggyApi(endpoints.grpc);

const moduleParams = await chainGrpcPeggyApi.fetchModuleParams();

console.log(moduleParams);
Last modified on April 24, 2026