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 indexer for auction module related data.

Using gRPC

Fetch auction based off the round

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

const endpoints = getNetworkEndpoints(Network.Testnet);
const indexerGrpcAuctionApi = new IndexerGrpcAuctionApi(endpoints.indexer);

const round = 1;

const auction = await indexerGrpcAuctionApi.fetchAuction(round);

console.log(auction);

Fetch auctions

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

const endpoints = getNetworkEndpoints(Network.Testnet);
const indexerGrpcAuctionApi = new IndexerGrpcAuctionApi(endpoints.indexer);

const auction = await indexerGrpcAuctionApi.fetchAuctions();

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