1 | /// <reference types="node" />
|
2 | import { JsonRpcProvider } from "./json-rpc-provider";
|
3 | export declare class JsonRpcBatchProvider extends JsonRpcProvider {
|
4 | _pendingBatchAggregator: NodeJS.Timer;
|
5 | _pendingBatch: Array<{
|
6 | request: {
|
7 | method: string;
|
8 | params: Array<any>;
|
9 | id: number;
|
10 | jsonrpc: "2.0";
|
11 | };
|
12 | resolve: (result: any) => void;
|
13 | reject: (error: Error) => void;
|
14 | }>;
|
15 | send(method: string, params: Array<any>): Promise<any>;
|
16 | }
|
17 | //# sourceMappingURL=json-rpc-batch-provider.d.ts.map |
\ | No newline at end of file |