Bitcoin Forum

Bitcoin => Project Development => Topic started by: mombay on December 17, 2016, 06:27:34 AM



Title: Check for bitcoin balance in C/C++ (An easy and good way to do that)
Post by: mombay on December 17, 2016, 06:27:34 AM
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.


Title: Re: Check for bitcoin balance in C/C++ (An easy and good way to do that)
Post by: Patatas on December 17, 2016, 08:09:44 AM
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]



Title: Re: Check for bitcoin balance in C/C++ (An easy and good way to do that)
Post by: mombay on December 17, 2016, 09:18:38 AM
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.


Title: Re: Check for bitcoin balance in C/C++ (An easy and good way to do that)
Post by: Kray on December 17, 2016, 09:20:02 PM
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.