Retrieve Wallet Balance for a Specific Asset

var Blockchain = '0x714d2ac07a826b66ac56752eebd7c77b58d2ee842e523d913fd0ef06e6bdfcae';
var Address = '0x...';
var Asset = 'CIRX';

Circular.GetWalletBalance(Blockchain, // Blockchain address
                          Address,    // wallet address
                          Asset)
  .then(data => {
    // do something with the data in JSON format
  });

Output

{
  "Result": 200, // success
  "Response": {
    "Balance": 10000.00, // balance
    "Description": "CIRX" // asset description
  },
  "Node": "0x..." // answering node
}

Last updated