diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index 7089556f4..01ee172b5 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -35,6 +35,7 @@ declare module 'web3' { public fromWei(amount: number|BigNumber.BigNumber, unit: string): BigNumber.BigNumber; public toWei(amount: number|BigNumber.BigNumber, unit: string): BigNumber.BigNumber; public isAddress(address: string): boolean; + public sha3(value: string, options?: Web3.Sha3Options): string; } namespace providers { @@ -99,6 +100,10 @@ declare module 'web3' { } interface Provider {} + + interface Sha3Options { + encoding: string + } } /* tslint:disable */ export = Web3; |