@parifi/sdk
Version:
Parifi SDK with common utility functions
9 lines (6 loc) • 361 B
text/typescript
import { Market } from '../../interfaces/sdkTypes.mjs';
import 'decimal.js';
import '../../interfaces/subgraphTypes.mjs';
declare const getAllMarketsFromSubgraph: (subgraphEndpoint: string) => Promise<Market[]>;
declare const getMarketById: (subgraphEndpoint: string, marketId: string) => Promise<Market>;
export { getAllMarketsFromSubgraph, getMarketById };