Pages:
Author

Topic: How to check blockchain programatically (transactions, addresses, confirmations) - page 2. (Read 2726 times)

legendary
Activity: 3514
Merit: 5123
https://merel.mobi => buy facemasks with BTC/LTC

you can just use JSON-RPC
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#PHP
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

pretty easy to work with: just install bitcoin core, let it sync and call the API directly

Awesome, I knew there has to be something like this. Looks like exactly what I am looking for, thanks!

Still: Is there some public API service or something that just allows you to call few basic commands? What you've posted is great, but may be a little overkill for what I actually need, but I might to learn to use it anyway. Any other suggestions anyone?

If i'm not mistaking, blockchain.info also has an api for which you don't need an api key, if i remember correctly, it's limited since it only allows x calls every 24 hours.

https://blockchain.info/api/json_rpc_api

The big plus for this api is that it is fully compatible with the original Bitcoind RPC protocol, so if you develop code and use this API, you should be able to switch to the bitcoind api without to much troubles.

If you just want a block explorer, you can also have a look at the insight api, i hear it's easy to use and install, but in essence, you're running a full node.
newbie
Activity: 13
Merit: 0

you can just use JSON-RPC
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#PHP
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

pretty easy to work with: just install bitcoin core, let it sync and call the API directly

Awesome, I knew there has to be something like this. Looks like exactly what I am looking for, thanks!

Still: Is there some public API service or something that just allows you to call few basic commands? What you've posted is great, but may be a little overkill for what I actually need, but I might to learn to use it anyway. Any other suggestions anyone?
legendary
Activity: 3514
Merit: 5123
https://merel.mobi => buy facemasks with BTC/LTC
Hello everyone!

I am relatively new to bitcoin, but I have general idea of how it works, so I know about wallets, confirmations, bitcoin addresses and all this general informations.

What i am looking for right now is some easy and reliable way of checking/crawling the blockchain automatically. I have a certain skills as a programmer and I am thinking about doing something around bitcoin and related stuff (idk, maybe some new wallet or service or who knows). What I would like to ask IT guys here is what is the most effective (not necessarily the easiest) way of keeping track of what is going on in blockchain.

Let's say I will have a wallet and inside that wallet few addresses and I will want to check every minute what's going on with those addresses. Did someone send BTC to one of those addresses? How many BTC they've send? How many confirmations are there already? At what time it was done? etc.

I realize there are some API services for example on blockchain.info where you can request an API key and then you even get notified by them when something happenes. But I tried to apply there, they declined my request and then I realized "Hey, I must be stupid, why I just don't check the blockchain directly somehow like they do?" - don't get this wrong I don't need anything complex, all I am looking for right now is just a simple way of checking few things like:

- latest incoming transactions into an address
- how many bitcoins are stored on a certain address
- how many confirmations certain transaction gets

That's basically all. Would be great if I could just crawl some public site for all these informations or something. I am probably asking very basic and stupid question and I expect the solution to be quite easy, but I am really new to this.

you can just use JSON-RPC
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#PHP
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

pretty easy to work with: just install bitcoin core, let it sync and call the API directly
newbie
Activity: 13
Merit: 0
Hello everyone!

I am relatively new to bitcoin, but I have general idea of how it works, so I know about wallets, confirmations, bitcoin addresses and all this general informations.

What i am looking for right now is some easy and reliable way of checking/crawling the blockchain automatically. I have a certain skills as a programmer and I am thinking about doing something around bitcoin and related stuff (idk, maybe some new wallet or service or who knows). What I would like to ask IT guys here is what is the most effective (not necessarily the easiest) way of keeping track of what is going on in blockchain.

Let's say I will have a wallet and inside that wallet few addresses and I will want to check every minute what's going on with those addresses. Did someone send BTC to one of those addresses? How many BTC they've send? How many confirmations are there already? At what time it was done? etc.

I realize there are some API services for example on blockchain.info where you can request an API key and then you even get notified by them when something happenes. But I tried to apply there, they declined my request and then I realized "Hey, I must be stupid, why I just don't check the blockchain directly somehow like they do?" - don't get this wrong I don't need anything complex, all I am looking for right now is just a simple way of checking few things like:

- latest incoming transactions into an address
- how many bitcoins are stored on a certain address
- how many confirmations certain transaction gets

That's basically all. Would be great if I could just crawl some public site for all these informations or something. Or if there is some reliable API someone provides (where you won't get declined like on blockchain.info) that would be great. I am probably asking very basic and stupid question and I expect the solution to be quite easy, but I am really new to this.
Pages:
Jump to: