You can get consensus related values such prevrandao
and validator details with eth_getBlockByNumber
or eth_getBlockByHash
, but how can you get this data for many blocks without making thousands of RPC calls?
For instance eth_getLogs
lets you specify a filter, allowing it to return logs for many transactions, but doesn't have the type of data I'm looking for.
I understand there's things like The Graph, but I'm trying to first find a way to do this with a JSON RPC call (assuming the former even has this sort of data).