Read an XPUB list of transactions to Python using my own node

0

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?

alphazeta

Posted 2019-06-10T10:01:46.953

Reputation: 3

Question was closed 2019-06-26T03:51:39.940

Answers

0

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.

Mylo Mylo

Posted 2019-06-10T10:01:46.953

Reputation: 26

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 2019-06-19T16:58:50.387