Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
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);
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);