Bitcoin Forum
May 01, 2024, 02:24:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Check for bitcoin balance in C/C++ (An easy and good way to do that)  (Read 553 times)
mombay (OP)
Sr. Member
****
Offline Offline

Activity: 299
Merit: 256



View Profile
December 17, 2016, 06:27:34 AM
 #1

Hi
All in the title, how to check balance of a bitcoin address throue an easy way.
Can i use bitcoind but without the blockchain since it will take time ? Any unlimited API that allow that ?

Check for balance and confirmations.

Thank's.

           ▀██▄ ▄██▀
            ▐█████▌
           ▄███▀███▄
         ▄████▄  ▀███▄
       ▄███▀ ▀██▄  ▀███▄
     ▄███▀  ▄█████▄  ▀███▄
   ▄███▀  ▄███▀ ▀███▄  ▀███▄
  ███▀  ▄████▌   ▐████▄  ▀███
 ███   ██▀  ██▄ ▄██  ▀██   ███
███   ███  ███   ███  ███   ███
███   ███   ███████   ███   ███
 ███   ███▄▄       ▄▄███   ███
  ███▄   ▀▀█████████▀▀   ▄███
   ▀████▄▄           ▄▄████▀
      ▀▀███████████████▀▀
DeepOnion
███
███
███
███
███
███
███
███
███
███
   Anonymity Guaranteed
   Anonymous and Untraceable
   Guard Your Privacy
      ▄▄██████████▄▄
    ▄███▀▀      ▀▀█▀   ▄▄
   ███▀              ▄███
  ███              ▄███▀   ▄▄
 ███▌  ▄▄▄▄      ▄███▀   ▄███
▐███  ██████   ▄███▀   ▄███▀
███▌ ███  ███▄███▀   ▄███▀
███▌ ███   ████▀   ▄███▀
███▌  ███   █▀   ▄███▀  ███
▐███   ███     ▄███▀   ███
 ███▌   ███  ▄███▀     ███
  ███    ██████▀      ███
   ███▄             ▄███
    ▀███▄▄       ▄▄███▀
      ▀▀███████████▀▀
1714530291
Hero Member
*
Offline Offline

Posts: 1714530291

View Profile Personal Message (Offline)

Ignore
1714530291
Reply with quote  #2

1714530291
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714530291
Hero Member
*
Offline Offline

Posts: 1714530291

View Profile Personal Message (Offline)

Ignore
1714530291
Reply with quote  #2

1714530291
Report to moderator
Patatas
Legendary
*
Offline Offline

Activity: 1750
Merit: 1115

Providing AI/ChatGpt Services - PM!


View Profile
December 17, 2016, 08:09:44 AM
 #2

Hi
All in the title, how to check balance of a bitcoin address throue an easy way.
Can i use bitcoind but without the blockchain since it will take time ? Any unlimited API that allow that ?
Check for balance and confirmations.
Thank's.
Yes,you have two options:
1.Write your own remote procedure calls.
2.Use Api's of any third party developers which comes with limitations.But if you're usage is limited to only checking balance of address then this option is feasible otherwise as you said you need to take special privileges from the API providers.

Tutorial for writing your own Json RPC : 
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
https://www.youtube.com/watch?v=cMM-t7azzJE

Third party API references :
https://blockchain.info/api
[There are more,do your homework]

mombay (OP)
Sr. Member
****
Offline Offline

Activity: 299
Merit: 256



View Profile
December 17, 2016, 09:18:38 AM
 #3

Hi
All in the title, how to check balance of a bitcoin address throue an easy way.
Can i use bitcoind but without the blockchain since it will take time ? Any unlimited API that allow that ?
Check for balance and confirmations.
Thank's.
Yes,you have two options:
1.Write your own remote procedure calls.
2.Use Api's of any third party developers which comes with limitations.But if you're usage is limited to only checking balance of address then this option is feasible otherwise as you said you need to take special privileges from the API providers.

Tutorial for writing your own Json RPC : 
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
https://www.youtube.com/watch?v=cMM-t7azzJE

Third party API references :
https://blockchain.info/api
[There are more,do your homework]



First thank you for your answer.

But is not what i am looking for ... i want an API that purpose unlimited request to check balance of address and the confirmations.

Blockchain is not good for this purpose since they ban IPs quickly and require each time to send them a message in order to unban you.

I want a list of websites like blockchain that have good rate of request allowed.

           ▀██▄ ▄██▀
            ▐█████▌
           ▄███▀███▄
         ▄████▄  ▀███▄
       ▄███▀ ▀██▄  ▀███▄
     ▄███▀  ▄█████▄  ▀███▄
   ▄███▀  ▄███▀ ▀███▄  ▀███▄
  ███▀  ▄████▌   ▐████▄  ▀███
 ███   ██▀  ██▄ ▄██  ▀██   ███
███   ███  ███   ███  ███   ███
███   ███   ███████   ███   ███
 ███   ███▄▄       ▄▄███   ███
  ███▄   ▀▀█████████▀▀   ▄███
   ▀████▄▄           ▄▄████▀
      ▀▀███████████████▀▀
DeepOnion
███
███
███
███
███
███
███
███
███
███
   Anonymity Guaranteed
   Anonymous and Untraceable
   Guard Your Privacy
      ▄▄██████████▄▄
    ▄███▀▀      ▀▀█▀   ▄▄
   ███▀              ▄███
  ███              ▄███▀   ▄▄
 ███▌  ▄▄▄▄      ▄███▀   ▄███
▐███  ██████   ▄███▀   ▄███▀
███▌ ███  ███▄███▀   ▄███▀
███▌ ███   ████▀   ▄███▀
███▌  ███   █▀   ▄███▀  ███
▐███   ███     ▄███▀   ███
 ███▌   ███  ▄███▀     ███
  ███    ██████▀      ███
   ███▄             ▄███
    ▀███▄▄       ▄▄███▀
      ▀▀███████████▀▀
Kray
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500



View Profile
December 17, 2016, 09:20:02 PM
 #4

Hi
All in the title, how to check balance of a bitcoin address throue an easy way.
Can i use bitcoind but without the blockchain since it will take time ? Any unlimited API that allow that ?

Check for balance and confirmations.

Thank's.

You can use bitcoind (need to download blockchain first), and then in your code, you only need to connect to bitcoind JSON RPC SERVER, and send command.
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!