0

I've read some conflicting things on this. Given any address, what would be the json command and or how would I import into python, such a query to my bitcoin core wallet for an array of all the tx id's for all tx's associated with any given address (whether part of my wallet or not)?

Or is there even a way to do that to begin with?

1

You question deserves a very long explanation :-) Instead of repeating what was already discussed, I put some links here which will help you to begin.

Given any address, what would be the json command and or how would I import into python...

first it is important to understand, that the wallet that you talk to (via RPC) is not the blockchain. You can only fetch information for the known addresses in the wallet.

... for an array of all the tx id's for all tx's associated with any given address (whether part of my wallet or not)?

This is a repeating pattern here in the forum, a quick search revealed this.

And how to send python commands to RPC is described here. A quick search for "RPC python" reveals many more sources of information. The RPC commands themselves are well described here and here.

For sure we can't write the code for you, so maybe show us a bit how far you got, and then we can easily follow where you got stuck, and maybe even provide the help you are looking for.

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.