Skip to content

Weth.watch filter are not implemented completely #326

@frozeman

Description

@frozeman

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions