changed docs

This commit is contained in:
Fabian Vogelsteller 2017-01-26 10:32:12 +01:00
parent bbfefb091c
commit aad9ae5a12
No known key found for this signature in database
GPG Key ID: E51EADA77F1A4124

View File

@ -447,7 +447,7 @@ Returns
- ``"transactionHash"`` returns ``String``: is fired right after the transaction is send and a transaction hash is available.
- ``"receipt"`` returns ``Object``: is fired when the transaction receipt is available.
- ``"confirmation"`` returns ``Number``, ``Object``: is fired for every confirmation up to the 12th confirmation. Receives the confirmation number as the first and the receipt as the second argument.
- ``"confirmation"`` returns ``Number``, ``Object``: is fired for every confirmation up to the 12th confirmation. Receives the confirmation number as the first and the receipt as the second argument. Fired from confirmation 0 on, which is the block where its minded.
- ``"error"`` returns ``Error``: is fired if an error occurs during deployment.
@ -458,7 +458,7 @@ Example
.. code-block:: javascript
// using the callback
myContract.methods.myMethod(123).send({from: '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe'}, function(error, mixed){
myContract.methods.myMethod(123).send({from: '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe'}, function(error, hash){
...
});