Skip to content

Commit 985fec8

Browse files
committed
feat(contract): Add missing example.
1 parent ec64ba1 commit 985fec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contract.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Contract {
3838
*
3939
* @param {string} hash - The contract address.
4040
* @returns {Promise<object>} The functions or decompiled functions of the specified contract.
41-
* @example
41+
* @example const functions = await web3data.contract.getFunctions('0x06012c8cf97bead5deae237070f9587f8e7a266d')
4242
*/
4343
getFunctions(hash) {
4444
if (is.notHash(hash)) return Promise.reject(new Error(NO_ADDRESS))

0 commit comments

Comments
 (0)