The blockchain explorer WhatsOnChain (WoC) is an essential part of the BSV ecosystem. With WoC, companies who operate using the BSV blockchain can send any number of requests for transactions to be processed. The WoC data system records these requests and informs a transaction processor, typically TAAL, which in turn completes the transaction and records it on to the blockchain.

A key differentiator for WoC vs. other explorers is its endpoints for APIs, or application programming interfaces. An API endpoint is a solution that allows two computers, or their software programs, to connect and communicate with each other. The code that each API sends is considered a request for some action to be taken by the receiving web application or web server. Endpoints allow developers to build applications and return accurate data to the blockchain, whose immutable nature records the information for safeguarding and storage.

The type of application being built by the developer will determine which endpoint that they will use. 

Here are some of the advantages that WoC’s API endpoints offer for businesses:

WhatsOnChain Endpoints

1. Wallet: For those applications that require the creation of a wallet, engineers will find the following endpoints to be useful in accurately displaying customer balances and transactions. Centi and mintBlue are among the TAAL clients who utilize this function.

a) Transaction History — This endpoint retrieves confirmed and unconfirmed script transactions.

b) Address History — This endpoint retrieves confirmed and unconfirmed address transactions.

c) Unspent Transactions — This endpoint retrieves an ordered list of UTXOs.

d) Bulk unspent transactions — Fetch UTXOs for multiple addresses in a single request.

 

2. Blockchain data website: For developers who want to create a blockchain data website or comparison website then the following WoC endpoints would be useful. Australian start-up Codugh and U.S.-based Britevue, a review-verification website, are among the TAAL clients who benefit from this series of endpoints. 

a) Get by hash and height — For a block with up to 100 transactions, all transaction IDs are returned in response to this call. If a block has more than 100 transactions, only the top 100 transaction IDs are returned. To get the remaining IDs, developers would need to access the “Get block pages” section.

b) Get mempool info — This endpoint retrieves various information about the node’s mempool for the selected network.

c) Get mempool transactions — This endpoint retrieves a list of transaction IDs from the node’s mempool for the selected network.

 

3. Blockchain Game: For those who are creating blockchain games, then the following WoC endpoints will be game-changers. Game developers will find the detailed transactions made by players — including moves, actions, and in-game purchases — to be valuable data. Among the TAAL clients who use the Blockchain Game feature is Fyx Gaming, publisher of the hugely popular “CryptoFights” game.

a) Get unspent transactions — This endpoint retrieves ordered list of UTXOs.

b) Bulk unspent transactions — Fetch UTXOs for multiple addresses in a single request (to a maximum of 20 addresses per request).

c) Get by tx hash — This endpoint retrieves the transaction details for a given transaction hash. A separate endpoint will get raw transaction output data that can be used to fetch the full hex data if required by the client application.

 

For all applications, WoC provides impactful data, including real-time BSV data and access to blocks, transactions, and address activity. As the tokenized solution, Stas, emerges, developers will also see on-chain data related to its use. 

With hundreds of thousands of transaction requests hitting WhatsOnChain each day, the blockchain explorer is one of the most critical parts of the BSV network and the surest way to track the explosive growth of the original Bitcoin protocol as it attracts more and more enthusiastic developers.