Choose a stable block window
from_block and to_block are both inclusive. block_range returns an exclusive to_block, so subtract one from its upper bound.
Use bounded finalized ranges for repeatable reads. Historical windows require a provider that retains the requested blocks.
No-range overloads are intended for limited discovery; provider range limits can reject or truncate broad queries.
SQL LIMIT trims rows after fetching; reduce RPC work with emitter, topic, and block filters.
Named parameters · RPC required