0

I was hoping if anyone knew how Etherscan loads its landing page. For instance, the landing page displays the blocks and transactions almost immediately upon entering the page. How is the webpage able to query the chain and get the response so fast?

2 Answers 2

0

Because Etherscan does not query the chain, but its internal database.

1
  • thanks for sharing your inputs here. Sorry for reaching you out of the blue. I was wondering if you could assist me with this. I am kind of not finding any information anywhere else. ethereum.stackexchange.com/questions/118130/… Thanks a ton in advance. Jan 6, 2022 at 21:49
0

To query the Ethereum chain you have three options:

  • Run your own Ethereum node, fully synchronized with the chain => it's fast but this will be expensive to maintain and take a lot of time to set-up
  • Use a service like Infura => it's cheap, fast to use but may not be the most accurate as there will be delay between you and the request to Infura
  • Use a mix of the two above, through a service like Quiknode.

Etherscan is very likely to go with option one of running and managing their own Ethereum node to get the latest and most accurate data in the fastest time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.