@ethereum-tag-service/subgraph-endpoints
The subgraph-endpoints package provides a mapping system for ETS API endpoints across different networks. It handles the resolution of chain IDs to their corresponding API endpoints.
Installation
npm
npm install @ethereum-tag-service/subgraph-endpoints
Functions
getSubgraphEndpoint(chainId: number): string
Returns the subgraph endpoint for the given chain ID.subgraphEndpoints
A constant object containing the mapping of chain IDs to their corresponding subgraph endpoints.