I need to periodically check the balance of a number of bitcoin addresses (a few tens or hundreds addresses). I noticed that Electrum may syncronize a thousand or more imported addresses in a matter of a few seconds. But I failed to realise how it is done searching through Electrum source code.

Which methods it uses? Does it really import all these addresses into currently connected remote node and then calls listunspent no matter how many addresses I insert into the wallet?

Can you please point me to a code snippet that implements such funtionality

1 Answer 1


Electrum wallet requires a special Electrum compatible server where it can query the data needed.

There are now several implementations eg:

...code snippet that implements such funtionality


  • I just wonder if I can connect to one of those electrumx from my app, in other words to simulate electrum client in order to synchronise addresses?
    – vistore
    Oct 6, 2019 at 9:08
  • Should be possible, yes. Just study the API. Oct 8, 2019 at 11:09
  • @vistore Does this answer your question? If so, please accept the answer. Oct 23, 2019 at 16:38

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.