aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-16 21:04:38 +0800
committerFabio Berger <me@fabioberger.com>2018-03-16 21:04:38 +0800
commitb37076136b59ecff681377f6df5de762d44320f0 (patch)
treedee4b1cdaeaa74d0a24a8e4cf0fb5bb650a3f35e /packages/subproviders/src
parent3574ab253fd56b40a1b417406416c94efdb0cd13 (diff)
downloaddexon-sol-tools-b37076136b59ecff681377f6df5de762d44320f0.tar.gz
dexon-sol-tools-b37076136b59ecff681377f6df5de762d44320f0.tar.zst
dexon-sol-tools-b37076136b59ecff681377f6df5de762d44320f0.zip
Add missing type
Diffstat (limited to 'packages/subproviders/src')
-rw-r--r--packages/subproviders/src/types.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/subproviders/src/types.ts b/packages/subproviders/src/types.ts
index 543da5947..09095a53d 100644
--- a/packages/subproviders/src/types.ts
+++ b/packages/subproviders/src/types.ts
@@ -1,4 +1,5 @@
import * as _ from 'lodash';
+import * as Web3 from 'web3';
export interface LedgerCommunicationClient {
close: () => Promise<void>;
@@ -117,3 +118,7 @@ export type ErrorCallback = (err: Error | null, data?: any) => void;
export type Callback = () => void;
export type OnNextCompleted = (err: Error | null, result: any, cb: Callback) => void;
export type NextCallback = (callback?: OnNextCompleted) => void;
+
+export interface JSONRPCRequestPayloadWithMethod extends Web3.JSONRPCRequestPayload {
+ method: string;
+}