-
Notifications
You must be signed in to change notification settings - Fork 8
Filter logs by Indexed return values #2
Copy link
Copy link
Open
Description
ethjs-filter
Issue Type
- Bug (https://github.com/ethjs/ethjs-filter/blob/master/.github/CONTRIBUTING.md#bug-reports)
- Feature (https://github.com/ethjs/ethjs-filter/blob/master/.github/CONTRIBUTING.md#feature-requests)
Description
It is not possible to pass Indexed return values you want to filter the logs by to contract filters, as it is using web3.js contract-events. This would be useful.
From the web3.js docs:
var event = myContractInstance.MyEvent({valueA: 23} [, additionalFilterObject])
Parameters
- Object - Indexed return values you want to filter the logs by, e.g. {'valueA': 1, 'valueB': [myFirstAddress, mySecondAddress]}. By default all filter values are set to null. It means, that they will match any event of given type sent from this contract.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels