client-aftermath-ts-sdk
Version:
Client Aftermath TypeScript SDK
27 lines (26 loc) • 1.12 kB
JavaScript
;
// import { SuiNetwork } from "../types/suiTypes";
// import { Caller } from "../utils/caller";
// import { Url } from "../types";
// import { PythPriceFeedId } from "./priceFeedsTypes";
Object.defineProperty(exports, "__esModule", { value: true });
// export class PriceFeeds extends Caller {
// // =========================================================================
// // Constructor
// // =========================================================================
// constructor(public readonly network?: SuiNetwork) {
// super(network, "price-feeds");
// }
// // =========================================================================
// // Price Feeds
// // =========================================================================
// public async getPrices(inputs: {
// priceFeedIds: PythPriceFeedId[];
// }): Promise<number[]> {
// return this.fetchApi(JSON.stringify(inputs.priceFeedIds));
// }
// public async getPrice(priceFeedId: PythPriceFeedId): Promise<number> {
// return (await this.getPrices({ priceFeedIds: [priceFeedId] }))[0];
// }
// }
exports.default = {};