UNPKG

@helium/http

Version:

HTTP library for interacting with the Helium blockchain API

17 lines 613 B
import OraclePrice from '../models/OraclePrice'; import OraclePricePrediction from '../models/OraclePricePrediction'; import ResourceList from '../ResourceList'; import type Client from '../Client'; interface ListParams { cursor?: string; } export default class Oracle { private client; constructor(client: Client); getCurrentPrice(): Promise<OraclePrice>; listPrices(params?: ListParams): Promise<ResourceList<OraclePrice>>; getPriceAtBlock(height: number): Promise<OraclePrice>; getPredictedPrice(): Promise<OraclePricePrediction[]>; } export {}; //# sourceMappingURL=Oracle.d.ts.map