Developers Forum for XinFin XDC Network

Cover image for [Informative] A Step-by-Step Guide to Updating XDC Network’s Token Circulating Supply through XDC — BlocksScan API
AnilChinchawale
AnilChinchawale

Posted on

[Informative] A Step-by-Step Guide to Updating XDC Network’s Token Circulating Supply through XDC — BlocksScan API

In the world of blockchain and cryptocurrencies, maintaining accurate token data is crucial for transparency and credibility. One key aspect of token information is the circulating supply, which reflects the total number of tokens available in the market and actively being traded. To ensure that circulating supply data is up-to-date and accurate, token issuers often need to update it. In this article, we’ll explore how to update the circulating supply of XRC tokens using API endpoints provided by the XDC Network’s BlocksScan platform.

Image description

Step 1: Accessing the API Documentation
Before we begin, we need to familiarize ourselves with the API endpoints provided by the XDC Network’s BlocksScan platform. The API documentation can be found at: API Docs. This documentation provides details on how to interact with the API, including the parameters required and the expected response format.

Step 2: Retrieving Circulating Supply | Total Supply Data
To retrieve the circulating supply or total supply data for a specific XRC token, we’ll make a GET request to the following API endpoint:

Image description

Replace with the address of the XRC token contract whose circulating supply you want to update in other platform like CMC and enter “circulatingsupply” or “totalsupply”, whichever you want to update. This API endpoint will return the current circulating supply | totalsupply of the specified token.

Step 3: Access CMC Admin Panel

  • Visit “Self Report” under the Person icon and “Total Supply” field to update the Circulating Supply | Total Supply Data
    Image description

  • Click on the “Connect API End point”.
    Image description

  • Submit the details by entering the respective endpoint.
    Image description

  • Once the details get updated on CMC, the data will get updated here.
    Image description

Conclusion
By following the steps outlined in this article, token issuers can easily update the circulating supply data for XRC tokens using the API endpoints provided by the XDC Network’s BlocksScan platform. Maintaining accurate and up-to-date token data is essential for transparency and trust within the cryptocurrency community, and APIs play a crucial role in facilitating this process.

XDC Network Official Website: https://xinfin.org/

XDC Forum: XDC.Dev

XDC Network Social Channels:

Discussion (0)