Content pfp
Content
@
0 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
Ponder 0.4.16 introduces block indexing Block indexing is great for cron / scheduled tasks: - Read the latest price from an oracle contract every minute to build a price chart - Aggregate data every hour to update protocol-wide statistics
1 reply
5 recasts
40 reactions

Kevin pfp
Kevin
@typedarray.eth
Block indexing is built using the same RPC-compatible, reorg-aware engine that powers log indexing. The `interval` option accepts a block interval, but it’s easy to convert a time interval (e.g. every day) into a block interval using the chain's block time.
1 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
Upgrade and enjoy! Chat: t.me/ponder_sh Release: github.com/ponder-sh/ponder/releases Docs: ponder.sh/docs/block-events
0 reply
0 recast
0 reaction