UNPKG

@witnet/ethers

Version:

Wit/Oracle Ethers Framework package for EVM-compatible projects

16 lines 764 B
import { ContractTransactionReceipt, TransactionReceipt } from "ethers"; import { DataPushReport } from "../types"; import { WitAppliance } from "./WitAppliance"; import { WitOracle } from "./WitOracle"; export declare class WitOracleConsumer extends WitAppliance { protected constructor(witOracle: WitOracle, target: string); static at(witOracle: WitOracle, target: string): Promise<WitOracleConsumer>; pushDataReport(report: DataPushReport, options?: { confirmations?: number; gasPrice?: bigint; gasLimit?: bigint; onDataPushReportTransaction?: (txHash: string) => any; timeout?: number; }): Promise<ContractTransactionReceipt | TransactionReceipt | null>; } //# sourceMappingURL=WitOracleConsumer.d.ts.map