janezpodhostnik / flow-py-sdk

Unofficial flow blockchain python sdk
MIT License
35 stars 26 forks source link

Poll for multiple event types in get_events_for_height_range #61

Open sisyphusSmiling opened 1 year ago

sisyphusSmiling commented 1 year ago

Description

It would be helpful to name a number of events in client.get_events_for_height_range(). This would involve changing type : str to type : [str], and the returned events would be ordered by block and secondarily event index and comingled type.

The current alternative is calling get_events_for_height_range() for each type that I'm querying for over the same range.