Bitcoin Forum
May 05, 2024, 01:30:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoind get address info  (Read 208 times)
Dzhamas (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 03, 2018, 12:45:32 PM
 #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
1714872637
Hero Member
*
Offline Offline

Posts: 1714872637

View Profile Personal Message (Offline)

Ignore
1714872637
Reply with quote  #2

1714872637
Report to moderator
1714872637
Hero Member
*
Offline Offline

Posts: 1714872637

View Profile Personal Message (Offline)

Ignore
1714872637
Reply with quote  #2

1714872637
Report to moderator
1714872637
Hero Member
*
Offline Offline

Posts: 1714872637

View Profile Personal Message (Offline)

Ignore
1714872637
Reply with quote  #2

1714872637
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714872637
Hero Member
*
Offline Offline

Posts: 1714872637

View Profile Personal Message (Offline)

Ignore
1714872637
Reply with quote  #2

1714872637
Report to moderator
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4166


View Profile
February 03, 2018, 12:51:28 PM
Last edit: February 03, 2018, 02:23:13 PM by ranochigo
 #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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
February 03, 2018, 05:25:49 PM
Merited by bob123 (1)
 #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.

Dzhamas (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 08, 2018, 02:26:06 AM
 #4

Thank you
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!