From 0b6e246c04e0aae317a8db16b9333c07173758be Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 26 Jul 2017 14:55:03 +0200 Subject: Add web3.personal.sign --- packages/web3-typescript-typings/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index fb697d9f4..e57ec596d 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -203,8 +203,9 @@ declare module 'web3' { interface PersonalApi { listAccounts: string[] | undefined; newAccount(password?: string): string; - unlockAccount(address: string, password?: string, duration?: number): boolean - lockAccount(address: string): boolean + unlockAccount(address: string, password?: string, duration?: number): boolean; + lockAccount(address: string): boolean; + sign(message: string, account: string, password: string): string; } interface NetApi { -- cgit v1.2.3