Content pfp
Content
@
0 reply
0 recast
0 reaction

Stephan pfp
Stephan
@stephancill
What is the fastest way of getting the last 100k block number + block hash pairs for free? Looking for this data on ethereum mainnet specifically to use in a script
10 replies
3 recasts
16 reactions

Stephan pfp
Stephan
@stephancill
Dune is a front runner for now although technically not free for my use case
0 reply
1 recast
10 reactions

Ryan J. Shaw pfp
Ryan J. Shaw
@rjs
How often do you need the data? If infrequent, BigQuery will be fast and free for this dataset.
2 replies
0 recast
1 reaction

--Dir3-- pfp
--Dir3--
@dir3
You can use the Etherscan API with a loop to fetch the last 100,000 block numbers and hashes for free.
1 reply
0 recast
1 reaction

Nastya pfp
Nastya
@nastya
you can use cryo https://github.com/paradigmxyz/cryo and the command like cryo blocks --blocks -100000:latest
0 reply
0 recast
4 reactions

🦒 pfp
🦒
@srijan.eth
sim.io might work
0 reply
0 recast
3 reactions

Darryl Yeo 🛠️ pfp
Darryl Yeo 🛠️
@darrylyeo
At that point you might as well sync a node yourself
0 reply
0 recast
2 reactions

xh3b4sd ↑ pfp
xh3b4sd ↑
@xh3b4sd.eth
To me it sounds like the best approach would be to collect every incoming block continuously in order to maintain this data over time. You can then fill your queue backwards sequentially and keep the new blocks coming in. If you try to load too much of the same data all the time, you are probably doing something wrong.
0 reply
0 recast
0 reaction

vrohlfs pfp
vrohlfs
@vrohlfs
You can either (1) get that by calling eth_ getBlockByNumber https://www.quicknode.com/docs/ethereum/eth_getBlockByNumber or (2) real-time stream Block data into a DB where your script can pull from (https://www.quicknode.com/docs/streams/data-sources#block)
0 reply
0 recast
0 reaction

JunyaoC pfp
JunyaoC
@junyaoc
The graph?
1 reply
0 recast
0 reaction

okk pfp
okk
@91588
Value post about blockchain data😍 😍
0 reply
0 recast
0 reaction