Add web3.personal.sign
This commit is contained in:
5
packages/web3-typescript-typings/index.d.ts
vendored
5
packages/web3-typescript-typings/index.d.ts
vendored
@@ -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 {
|
||||
|
Reference in New Issue
Block a user