Add web3.personal.sign

This commit is contained in:
Leonid Logvinov
2017-07-26 14:55:03 +02:00
parent 3992295678
commit 0b6e246c04

View File

@@ -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 {