import { Personal } from "https://deno.land/x/web3@v0.11.1/packages/web3-eth-personal/types/index.d.ts";
Properties
BatchRequest: new () => BatchRequest
readonly
currentProvider: providerMethods
ecRecover(): Promise<string>
dataThatWasSigned: string,
signature: string,
callback?: (error: Error, address: string) => void,
getAccounts(callback?: (error: Error, accounts: string[]) => void): Promise<string[]>
importRawKey(): Promise<string>
privateKey: string,
password: string,
callback?: (error: Error, result: string) => void,
lockAccount(address: string, callback?: (error: Error, success: boolean) => void): Promise<boolean>
newAccount(password: string, callback?: (error: Error, address: string) => void): Promise<string>
sendTransaction(): Promise<string>
transactionConfig: TransactionConfig,
password: string,
callback?: (error: Error, transactionHash: string) => void,
setProvider(provider: provider): boolean
sign(): Promise<string>
dataToSign: string,
address: string,
password: string,
callback?: (error: Error, signature: string) => void,
signTransaction(): Promise<RLPEncodedTransaction>
transactionConfig: TransactionConfig,
password: string,
callback?: (error: Error, RLPEncodedTransaction: RLPEncodedTransaction) => void,
unlockAccount(): Promise<boolean>
address: string,
password: string,
unlockDuration: number,
callback?: (error: Error) => void,
Static Properties
readonly
providers: Providers