ethers.js/packages/experimental/lib/retry-provider.d.ts

15 lines
490 B
TypeScript
Raw Permalink Normal View History

2019-05-14 18:48:48 -04:00
import { ethers } from "ethers";
export declare type RetryOptions = {
timeout?: number;
floor?: number;
ceiling?: number;
interval?: number;
retryLimit?: number;
};
export declare class RetryProvider extends ethers.providers.BaseProvider {
readonly provider: ethers.providers.BaseProvider;
readonly options: RetryOptions;
constructor(provider: ethers.providers.BaseProvider, options?: RetryOptions);
perform(method: string, params: any): Promise<any>;
}