0

How can get balance for btc/bch address and block ?

Similar to web3.eth.getBalance for Ethereum

  • 1
    Bitcoin doesn't have a similar functionality as web3. – MCCCS Apr 4 at 14:13
2

A BTC/BCH node does not supply aggregate information on addresses.
You could consult one of the block explorers out there, most of them do provide balances for addresses.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.