Updated docs slightly. (#5674)

These docs _really_ need a lot of improvement (like what are the options that go in `{}`, but at least they are now not outright incorrect.
This commit is contained in:
Micah Zoltu 2017-05-23 05:37:27 -07:00 committed by Gav Wood
parent 53add78a28
commit 2092b805b6
1 changed files with 3 additions and 3 deletions

View File

@ -109,9 +109,9 @@ contract.at('0xa9280...7347b');
find & call a function
```javascript
contract.named
.callMe
.call({ gas: 21000 }, [true, 'someString']) // or estimateGas or sendTransaction
contract.instance
.myContractMethodName
.call({}, [myContractMethodParameter]) // or estimateGas or sendTransaction
.then((result) => {
console.log(`the result was ${result}`);
});