0

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

Similar to web3.eth.getBalance for Ethereum

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

1 Answer 1

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 and acknowledge you have read our privacy policy.

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