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 { IndexerGrpcInsuranceFundApi } from "@injectivelabs/sdk-ts/client/indexer"; const endpoints = getNetworkEndpoints(Network.Testnet); const indexerGrpcInsuranceFundApi = new IndexerGrpcInsuranceFundApi( endpoints.indexer ); const injectiveAddress = "inj..."; const redemptions = await indexerGrpcInsuranceFundApi.fetchRedemptions({ injectiveAddress, }); console.log(redemptions);
import { getNetworkEndpoints, Network } from "@injectivelabs/networks"; import { IndexerGrpcInsuranceFundApi } from "@injectivelabs/sdk-ts/client/indexer"; const endpoints = getNetworkEndpoints(Network.Testnet); const indexerGrpcInsuranceFundApi = new IndexerGrpcInsuranceFundApi( endpoints.indexer ); const insuranceFunds = await indexerGrpcInsuranceFundApi.fetchInsuranceFunds(); console.log(insuranceFunds);