Skip to content

Support list of addresses in starknet_getEvents filter (like eth_getLogs) #348

@swan-of-bodom

Description

@swan-of-bodom

Reference:

Current starknet_getEvents filters are too restrictive. This is currently painful for many indexer use cases. For example, when dealing with factory-deployed contracts, indexers currently must make N separate requests to get child contract events. This could make running a Starknet indexer significantly more expensive compared to an EVM indexer.

Could we allow address to accept either a single address OR an array of addresses? When an array is provided, events from any of the specified addresses would be returned, matching the same functionality as eth_getLogs !

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