<p>If you want to see all bitcoin transactions for a given address, coming to or going from, then you need to actually look through the <a href="https://en.bitcoin.it/wiki/Block_chain" rel="nofollow">block chain</a>. Fortunately our good friends at <a href="http://blockchain.info/" rel="nofollow">blockchain.info</a> have given us a nice <a href="http://blockchain.info/api/blockchain_api" rel="nofollow">api</a> to do just that.</p>

CC BY-SA 3.0
2013-07-09T15:24:21.157Z
Hello Loourr. thank you very much for your reply and i agree blockchain do look and sound good, and i have had a good look at their API's. If possible i would have preferred to do it without the 3rd party, as if they can do it, it must be possible, but how is the problem i now have.... I have nothing against blockchain at all but have always felt it better to use my own system as oppose to relying on 3rd parties. Thanks again for your reply!
Ford
CC BY-SA 3.0
2013-07-10T01:11:14.740Z
Well I'm not exactly sure, but you can technically do it the same way blockchain.info does. You would just need some node on the network and figure out how to parse the data in a meaningful way.
Loourr
CC BY-SA 3.0
2013-07-09T10:06:47.733Z
2013-07-09T10:06:47.733Z
Loourr
<p>A full node bitcoin client has local copy of blockchain and keeps updating copy, whether has or not stored on it any private keys.  </p>

<p>All need to do is scan chain look for transactions involving address you're interested in.  </p>

<p>Code to do that in standard bitcoin client; function triggered by command "rescan".  </p>

<p>Need to find and extract that code, modify one or two lines to take address as command line argument, save. done.</p>

CC BY-SA 3.0
2013-08-22T01:40:17.897Z
2013-08-22T01:40:17.897Z
Edward.
<p>I am hoping someone much smarter than i regarding bitcoin can point me in the right direction.
And im sorry if my questions sound dumb....</p>

<p>I am trying to work out how i can check if a transaction has been made to a specific address
(so my "ecommerce" system knows the payment was made).
I would however like to do this without relying on 3rd party sites/API's</p>

<p>I though the answer maybe to run bitcoind on my web-facing server, but now im not so sure; As it seems i can only get transaction details for addresses within my wallet (stored on the web server) and i did not plan on having the BTC stored in the online wallet as i only wanted to check the transaction and store the BTC's in an offline wallet.
(if i was to store BTC in a wallet hosted on a web server is this a BIG security risk of having my lovely BTC's stolen?).</p>

<p>I have spent all night (now 7.30 am) trying to work out a plan of action, but think i am now more confused than when i started :-(</p>

<p>I would be very grateful if anyone could point me in the right direction as i really want to develop a BTC related website (and think i may have a good community based idea for a site).</p>

<p>Best Regards
Ford</p>

CC BY-SA 3.0
2013-07-09T14:20:15.770Z
You don't specify why you don't want to rely on 3rd party sites or APIs. Is this critical? As mentioned by @Loourr, blockchain.info is the normal way of handling this issue, though I can remember it going down on at least one occasion.
Jamie Bull
CC BY-SA 3.0
2013-07-09T15:14:03.587Z
Hello and thanks for the reply. i have nothing against blockchain, but by using a 3rd party just increases the chance of failure and typically i prefer to use my own code, as if blockchain can do what i need, my question is how are they doing it and can i do the same...
Ford
CC BY-SA 3.0
2013-07-09T15:55:20.103Z
Well there's always a trade-off to be made between the risk of service outage and the risk of making a mistake in a new and untested system. For me, BitPay does everything I need with no need to go as far as the block chain itself or even blockchain.info.
Jamie Bull
CC BY-SA 3.0
2013-07-15T18:06:16.253Z
just an update for anyone reading. After only a few days of deciding to use the 3rd party of blockchain... their API is now returning errors... i should have trusted my instincts and NOT used the 3rd party...
Ford
<transactions><bitcoind><development><api><json-rpc>
Verifying BitCoin Transactions
Ford
# Verifying BitCoin Transactions

(Asked by: username_0 on 2013-07-09)

I am hoping someone much smarter than i regarding bitcoin can point me in the right direction.
And im sorry if my questions sound dumb....

I am trying to work out how i can check if a transaction has been made to a specific address
(so my "ecommerce" system knows the payment was made).
I would however like to do this without relying on 3rd party sites/API's

I though the answer maybe to run bitcoind on my web-facing server, but now im not so sure; As it seems i can only get transaction details for addresses within my wallet (stored on the web server) and i did not plan on having the BTC stored in the online wallet as i only wanted to check the transaction and store the BTC's in an offline wallet.
(if i was to store BTC in a wallet hosted on a web server is this a BIG security risk of having my lovely BTC's stolen?).

I have spent all night (now 7.30 am) trying to work out a plan of action, but think i am now more confused than when i started :-(

I would be very grateful if anyone could point me in the right direction as i really want to develop a BTC related website (and think i may have a good community based idea for a site).

Best Regards
username_0

**Tags:** transactions, bitcoind, development, api, json-rpc

> **Comments:**
> **username_1**: You don't specify why you don't want to rely on 3rd party sites or APIs. Is this critical? As mentioned by @username_2, blockchain.info is the normal way of handling this issue, though I can remember it going down on at least one occasion.  
> **username_0**: Hello and thanks for the reply. i have nothing against blockchain, but by using a 3rd party just increases the chance of failure and typically i prefer to use my own code, as if blockchain can do what i need, my question is how are they doing it and can i do the same...  
> **username_1**: Well there's always a trade-off to be made between the risk of service outage and the risk of making a mistake in a new and untested system. For me, BitPay does everything I need with no need to go as far as the block chain itself or even blockchain.info.  
> **username_0**: just an update for anyone reading. After only a few days of deciding to use the 3rd party of blockchain... their API is now returning errors... i should have trusted my instincts and NOT used the 3rd party...  

---

## 2 answers

### Answer by username_2 on 2013-07-09. Score: 2

If you want to see all bitcoin transactions for a given address, coming to or going from, then you need to actually look through the [block chain](https://en.bitcoin.it/wiki/Block_chain). Fortunately our good friends at [blockchain.info](http://blockchain.info/) have given us a nice [api](http://blockchain.info/api/blockchain_api) to do just that.

> **Comments:**
> **username_0**: Hello username_2. thank you very much for your reply and i agree blockchain do look and sound good, and i have had a good look at their API's. If possible i would have preferred to do it without the 3rd party, as if they can do it, it must be possible, but how is the problem i now have.... I have nothing against blockchain at all but have always felt it better to use my own system as oppose to relying on 3rd parties. Thanks again for your reply!  
> **username_2**: Well I'm not exactly sure, but you can technically do it the same way blockchain.info does. You would just need some node on the network and figure out how to parse the data in a meaningful way.  

---

### Answer by username_3 on 2013-08-22. Score: 0

A full node bitcoin client has local copy of blockchain and keeps updating copy, whether has or not stored on it any private keys.

All need to do is scan chain look for transactions involving address you're interested in.

Code to do that in standard bitcoin client; function triggered by command "rescan".

Need to find and extract that code, modify one or two lines to take address as command line argument, save. done.


---

