UNPKG

@witnet/ethers

Version:

Wit/Oracle SDK Framework package for Solidity projects

20 lines 810 B
import { Witnet } from "@witnet/sdk"; import { DataPushReport } from "./types"; interface IKermitClient { getDataPushReport(witDrTxHash: Witnet.Hash, evmNetwork?: number | string): Promise<DataPushReport>; } export declare class KermitError extends Error { readonly error?: any; readonly path: string; readonly query?: any; constructor(path: string, query?: any, error?: any); } export declare class KermitClient implements IKermitClient { static fromEnv(url?: string): Promise<KermitClient>; readonly url: string; constructor(url: string); protected callApiGetMethod<T>(path: string, query?: any): Promise<Error | any>; getDataPushReport(witDrTxHash: Witnet.Hash, evmNetwork?: number | string): Promise<DataPushReport>; } export {}; //# sourceMappingURL=kermit.d.ts.map