1

Anyone familiar with a Python library that can get a list of all transactions under an XPUB but by connecting to a Bitcoin node through RPC?

1 Answer 1

1

Something like this might be a lead for what you're after. It gives you a list of addresses which you can then query your node by RPC.

You then use the getbalance RPC method. People I know use the python slickrpc package from pypi.

1
  • Just to follow-up and document my findings. After some research, I've decided to leverage the Open Source project from Samourai Dojo. Tracking wallet balances via xpub requires conforming to BIP44, BIP49 or BIP84 address derivation scheme and the Dojo can do that through a local node.
    – alphazeta
    Jun 19, 2019 at 16:58

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