@witnet/ethers
Version:
Wit/Oracle Ethers Framework package for EVM-compatible projects
20 lines • 813 B
TypeScript
import { Witnet } from "@witnet/sdk";
import { DataPushReport } from "./types.js";
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