0

There are websites which have APIs that allow you to trace transactions and lookup information like specific address balances, etc. I am wondering how these web service providers are able to provide the data from the blockchain.

I think that they are running a full node 24/7 so that the end user does not need to run tun their own node and can instead query for data via the service's node.

0

Blockchain explorers run multiple nodes which receive all blocks and transactions. They store these blocks and transactions in various databases which allows them to write software which query those databases whenever a user requests information about a block or transaction. They will also do additional processing of the blocks and transactions to produce information such as addresses and be able to provide all of the transactions for a particular address.

When you lookup anything on a block explorer's website, you are not actually sending a query to their node, that would be far too inefficient. By using external databases to store information, they can quickly lookup data in order to return it to the user.

  • So your answer is included that the Webservice provider has a technology that can provide the information quickly to end-users. They provide bad service(low latency) If they do not have a database technology(e.g. sharding). so they always do pre-processing for real-time query. it is my understanding right? Thank you for your answer. – Hyunsoo Jul 20 at 22:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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