Skip to content

Commit

Permalink
Merge pull request #1602 from kevinwucodes/patch-2
Browse files Browse the repository at this point in the history
jsonInterface data type should be consistent
  • Loading branch information
nivida authored Jan 21, 2019
2 parents a652893 + a14199b commit 9534855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/web3-eth-contract.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ Creates a new contract instance with all its methods and events defined in its :
Parameters
----------

1. ``jsonInterface`` - ``Object``: The json interface for the contract to instantiate
2. ``address`` - ``String`` (optional): The address of the smart contract to call, can be added later using ``myContract.options.address = '0x1234..'. It is necessary when using the contract instance to generate transactions.``
1. ``jsonInterface`` - ``Array``: The json interface for the contract to instantiate
2. ``address`` - ``String`` (optional): This address is necessary for transactions and call requests and can also be added later using ``myContract.options.address = '0x1234..'.``
3. ``options`` - ``Object`` (optional): The options of the contract. Some are used as fallbacks for calls and transactions:
* ``from`` - ``String``: The address transactions should be made from.
* ``gasPrice`` - ``String``: The gas price in wei to use for transactions. It is the wei per unit of gas.
Expand Down

0 comments on commit 9534855

Please sign in to comment.