Skip to content

Filter logs by Indexed return values #2

Open
@mattvick

Description

@mattvick

ethjs-filter

Issue Type

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

  1. 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.

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