diff options
author | Fabio Berger <me@fabioberger.com> | 2017-05-24 23:18:10 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:32 +0800 |
commit | 98e9c3b800c5a5ce00db1385e8870d1d1bc37c99 (patch) | |
tree | a900d2327ed62860dc7448167542dbc50ecc406b /packages | |
parent | a7f1137db856aeb9a0d68275088d6141f15d03b0 (diff) | |
download | dexon-sol-tools-98e9c3b800c5a5ce00db1385e8870d1d1bc37c99.tar dexon-sol-tools-98e9c3b800c5a5ce00db1385e8870d1d1bc37c99.tar.gz dexon-sol-tools-98e9c3b800c5a5ce00db1385e8870d1d1bc37c99.tar.bz2 dexon-sol-tools-98e9c3b800c5a5ce00db1385e8870d1d1bc37c99.tar.lz dexon-sol-tools-98e9c3b800c5a5ce00db1385e8870d1d1bc37c99.tar.xz dexon-sol-tools-98e9c3b800c5a5ce00db1385e8870d1d1bc37c99.tar.zst dexon-sol-tools-98e9c3b800c5a5ce00db1385e8870d1d1bc37c99.zip |
Add getBlockNumber definition
Diffstat (limited to 'packages')
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index ccc2c2919..1d673a1c3 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -18,6 +18,7 @@ declare module 'web3' { } sign(address: string, message: string, callback: (err: Error, signData: string) => void): string; getBlock(blockHash: string, callback: (err: Error, blockObj: any) => void): BigNumber.BigNumber; + getBlockNumber(callback: (err: Error, blockNumber: number) => void): void; contract(abi: AbiDefinition[]): Contract; getBalance(addressHexString: string, callback?: (err: any, result: BigNumber.BigNumber) => void): BigNumber.BigNumber; |