UNPKG

@parifi/sdk

Version:

Parifi SDK with common utility functions

9 lines (6 loc) 359 B
import { Market } from '../../interfaces/sdkTypes.js'; import 'decimal.js'; import '../../interfaces/subgraphTypes.js'; declare const getAllMarketsFromSubgraph: (subgraphEndpoint: string) => Promise<Market[]>; declare const getMarketById: (subgraphEndpoint: string, marketId: string) => Promise<Market>; export { getAllMarketsFromSubgraph, getMarketById };