python-opensea icon indicating copy to clipboard operation
python-opensea copied to clipboard

Cursor Param for Events

Open birb3D opened this issue 3 years ago • 1 comments

Currently you have events_backfill however when I've used it the result is always a set of 300, but never less than 300 which makes me think it's possibly missing results at the end.

If there was a cursor query param built into events then I could paginate myself, or maybe there's a reason it's returning only a multiple of 300 instead of all the results within a date range?

Thanks in advance!

birb3D avatar Aug 16 '22 17:08 birb3D

Hi @VillainGuy events_backfill() should yield all the items from the given time window in batches of 300. Pagination is handled internally. How are you using events_backfill()?

zseta avatar Sep 12 '22 11:09 zseta