Retrieve Asset Supply

var Blockchain = '0x714d2ac07a826b66ac56752eebd7c77b58d2ee842e523d913fd0ef06e6bdfcae';
var AssetName = 'CIRX';

Circular.GetAssetSupply(Blockchain, AssetName)
  .then(data => {
    // do something with the data in JSON format
  });

Output

{
  "Result": 200, // Success
  "Response": {
    "Total": 10000000000.00, // Total Supply for this asset
    "Circulating": 505650.03, // Circulating Supply
    "Name": "CIRX" // Asset Name
  },
  "Node": "0x..." // Answering node
}

Last updated