Unable to view address balance

+1 vote

First i m using to view this code but i m can't see any response then 

client.request('getreceivedbyaddress', [bitcoinAddress,1],function(err,res)

{

console.log("err:"+err);

console.log(res);

})

I am using bitcoin core import address but still i am unable to watch balance. any response

client.request('importaddress', [bitcoinAddress, bitcoinAddress, false],function(err,res)

{

console.log("err:"+err);

console.log(res);

}) // returns null if successfully imports

 

asked Aug 4, 2018 by vengat

1 Answer

0 votes

Assuming your question is about MultiChain, you should use the getaddressbalances API for this. If you're not using MultiChain, I'm afraid we can't help with your question here.

answered Aug 5, 2018 by MultiChain
...