The documentation is a little confusing, the description states:
“Get balances and transactions of an xpub or output descriptor”, but then, in the description for the
address field it says:
“Typically a Bitcoin address; xpub will not work.”
But the example also shows an xpub being used.
How is this endpoint different from
bb_getaddress? Is there a way I could get the overall wallet balance using
bb_getxpub? Is the documentation wrong regarding the
I’ve been trying it out using an zpub converted to an xpub, but I can’t seem to get anything other than “Internal Server Error” as a response.
I ask these questions, but even it worked, and would give me the overall balance of all addresses generated using the xpub, I wonder if it’s safe to be sending the master public key over the wire. Any thoughts on that?