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
11 replies
4 recasts
17 reactions

--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

Stephan pfp
Stephan
@stephancill
That would take too long :/
1 reply
0 recast
1 reaction

--Dir3-- pfp
--Dir3--
@dir3
What about using web3.js or ethers.js to pull block data from an Ethereum node.
0 reply
0 recast
0 reaction