aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-typescript-typings
diff options
context:
space:
mode:
authorSergey Ukustov <sergey@ukstv.me>2017-10-24 16:48:33 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-10 18:24:36 +0800
commit24ff2ec30c1fb5c6e3d5149ee5f4d01b8bdb1571 (patch)
treefdfc18423c35505a0f95b7e52ac175348eceba39 /packages/web3-typescript-typings
parent4e0c67e2a1cebc6ad65d4cb15c5894875de59bff (diff)
downloaddexon-0x-contracts-24ff2ec30c1fb5c6e3d5149ee5f4d01b8bdb1571.tar.gz
dexon-0x-contracts-24ff2ec30c1fb5c6e3d5149ee5f4d01b8bdb1571.tar.zst
dexon-0x-contracts-24ff2ec30c1fb5c6e3d5149ee5f4d01b8bdb1571.zip
Add async web3.personal.sign
Diffstat (limited to 'packages/web3-typescript-typings')
-rw-r--r--packages/web3-typescript-typings/index.d.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts
index 96b69e1c5..f866078ea 100644
--- a/packages/web3-typescript-typings/index.d.ts
+++ b/packages/web3-typescript-typings/index.d.ts
@@ -257,6 +257,7 @@ declare module 'web3' {
unlockAccount(address: string, password?: string, duration?: number): boolean;
lockAccount(address: string): boolean;
sign(message: string, account: string, password: string): string;
+ sign(hexMessage: string, account: string, callback: (error: Error, signature: string) => void): void;
}
interface NetApi {