mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-23 11:38:12 +00:00
changed docs
This commit is contained in:
parent
bbfefb091c
commit
aad9ae5a12
@ -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){
|
||||
...
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user