Bitcoin Forum
November 19, 2024, 02:37:53 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to get value of incoming transactions for a web app?  (Read 370 times)
ihafoxidu3 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 21, 2015, 09:22:50 PM
 #1

Hi guys, hope this is the right forum for this.

I'm working on a bitcoin app and one thing I haven't figured out is how to keep track of incoming transactions. I don't actually own the keys so I likely would have to use an API to get it. Any idea on the easiest way to do that?

I looked around, blockchain.info API limits the number of requests you can make, so it won't work for me. blockexplorer.com apparently has no limits(?), but I'm having a hard time finding the data I need among all the gibberish.

This is an example of it: blockexplorer.com/api/txs/?address=37ruA3VZws1x33ydVdrYNUP67URq4q3oXy

Where is the value of incoming transactions? I searched for "value" and "input" but it shows too many hits, it also shows outgoing transactions (not what I want) and all kinds of other values I have no idea what they are. Is there no easier way to find it?

I'd also like the get the time the transactions was made and the number of confirmations (or at least if it's overall confirmed or unconfirmed) but those aren't absolutely necessary. The only thing I really need is the value of each individual transaction made to a certain address.

Thanks for any help
unholycactus
Legendary
*
Offline Offline

Activity: 1078
Merit: 1024



View Profile WWW
October 21, 2015, 10:18:57 PM
 #2

Is the limit from blockchain's API that high? I thought it was something like 1 request/s.
It should be fine for what you're trying to do. Furthermore, it's hard to believe other blockchain explorers won't have any limits.
ihafoxidu3 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 21, 2015, 11:36:57 PM
 #3

Is the limit from blockchain's API that high? I thought it was something like 1 request/s.
It should be fine for what you're trying to do. Furthermore, it's hard to believe other blockchain explorers won't have any limits.

Blockchain.info website says:

Requests in 8 Hours: 1 (Soft Limit = 30000, Hard Limit = 30500)
Requests in 5 minutes: 1 (Soft Limit = 500, Hard Limit = 525)

I initially thought it says "1 request per 5 minutes" but I guess I misunderstood it... So if it gives 500 requests per 5 minutes which ought to be enough for me, but I want to check a few addresses at the same time so those limits might still become an issue if I want to update it in real-time. I'm sure blockexplorer.com also has its limits to prevent abuse but maybe they're not as strict.

But anyway I'm still left with the puzzle on how to get nothing but incoming values individually from the API. I'm taking a better look at it to see if I can figure it out, but hints would still be appreciated.
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!