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 { ChainGrpcTokenFactoryApi } from "@injectivelabs/sdk-ts/client/chain"; const endpoints = getNetworkEndpoints(Network.Testnet); const chainGrpcTokenFactoryApi = new ChainGrpcTokenFactoryApi(endpoints.grpc); const creator = "inj..."; const denoms = await chainGrpcTokenFactoryApi.fetchDenomsFromCreator(creator); console.log(denoms);
import { getNetworkEndpoints, Network } from "@injectivelabs/networks"; import { ChainGrpcTokenFactoryApi } from "@injectivelabs/sdk-ts/client/chain"; const endpoints = getNetworkEndpoints(Network.Testnet); const chainGrpcTokenFactoryApi = new ChainGrpcTokenFactoryApi(endpoints.grpc); const creator = "inj..."; const subdenom = "NINJA"; const metadata = await chainGrpcTokenFactoryApi.fetchDenomAuthorityMetadata( creator, subdenom ); console.log(metadata);