-
Couldn't load subscription status.
- Fork 21.5k
Closed
Description
I can't pass an object to the eth.watch() function. It works with cpp though.
If call:
web3.eth.watch({
address: web3.eth.accounts // should work according to specs (i can pass a string of an account or an array)
}).changed(function (log) {
console.log(log); // {"address":"0x0000000000000000000000000000000000000000","data":"0x0000000000000000000000000000000000000000000000000000000000000000","number":0}
});I get an error that the arguments are wrong.
Metadata
Metadata
Assignees
Labels
No labels