diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-26 20:55:03 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:34 +0800 |
commit | 0b6e246c04e0aae317a8db16b9333c07173758be (patch) | |
tree | 3c1721a991a431ef50903283f842508580181fd2 /packages | |
parent | 39922956784b2a785387e1c976a3a7f5c2895942 (diff) | |
download | dexon-sol-tools-0b6e246c04e0aae317a8db16b9333c07173758be.tar.gz dexon-sol-tools-0b6e246c04e0aae317a8db16b9333c07173758be.tar.zst dexon-sol-tools-0b6e246c04e0aae317a8db16b9333c07173758be.zip |
Add web3.personal.sign
Diffstat (limited to 'packages')
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 5 |
1 files changed, 3 insertions, 2 deletions
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 { |