Author

Topic: Bitcoind get address info (Read 229 times)

newbie
Activity: 5
Merit: 0
February 07, 2018, 09:26:06 PM
#4
Thank you
staff
Activity: 3458
Merit: 6793
Just writing some code
February 03, 2018, 12:25:49 PM
#3
Bitcoin Core does not have the capability to store information about addresses. The reason for this is twofold: on the technical level, addresses do not exist. They do not exist in the protocol. Secondly, having an address index would require a lot of space and extra code that few people would ever use.

Because Bitcoin Core does not maintain an address index, you cannot get any information about just an arbitrary address. You could use some other software which uses Bitcoin Core as a backend in order to construct such a database that does have this information. But Bitcoin Core itself does not have that capability.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
February 03, 2018, 07:51:28 AM
#2
By default, Bitcoin Core does not index any other transactions other than the transactions with outputs that is related to your address. You have to start it up with txindex=1 to index all the transactions.

The concept of addresses doesn't exactly exist in Bitcoin Core. Bitcoin Core only sees transactions and blocks but not addresses specifically. You have to use a script to parse the transactions yourself to figure out which transactions belongs to which address.
newbie
Activity: 5
Merit: 0
February 03, 2018, 07:45:32 AM
#1
Hello.
I have a server with instaled bitcoind, but can't found a comand to get address's transactions info (hash, type, amount, confirmations).
I need your help with it.

I can't to use third-party API because it's not secure
Jump to: