kernel-eth-client/dist/provider.d.ts

12 lines
412 B
TypeScript
Raw Normal View History

2023-03-27 12:55:41 +00:00
import { Eip1193Provider, ethers } from "ethers";
export declare class Provider implements Eip1193Provider {
private client;
request(args: RequestArguments): Promise<unknown>;
}
interface RequestArguments {
readonly method: string;
readonly params?: readonly unknown[] | object;
}
export declare function createProvider(): ethers.BrowserProvider;
export {};
//# sourceMappingURL=provider.d.ts.map