Joe Petrich 🟪 pfp
Joe Petrich 🟪
@jpetrich
Two exciting things this week: I figured out how to work around eth_getLogs' 10k log limit, and we've got sealed Pokemon cards dropping onchain tomorrow! You know which one I think is more exciting. https://courtyard.io/drops
2 replies
0 recast
3 reactions

Salman | Engineer pfp
Salman | Engineer
@0xsalman
What was the work around?
1 reply
0 recast
0 reaction

Joe Petrich 🟪 pfp
Joe Petrich 🟪
@jpetrich
One optimization to limit the response size by doing a query just of my contract to get the eligible addresses, and then filtering my request for seaport logs by those and second, a simple recursive algorithm to split up the query until it succeeds.
0 reply
0 recast
1 reaction