Bitcoin Forum
February 05, 2023, 10:00:31 AM *
News: Latest Bitcoin Core release: 24.0.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to get value of incoming transactions for a web app?  (Read 367 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
1675591231
Hero Member
*
Offline Offline

Posts: 1675591231

View Profile Personal Message (Offline)

Ignore
1675591231
Reply with quote  #2

1675591231
Report to moderator
1675591231
Hero Member
*
Offline Offline

Posts: 1675591231

View Profile Personal Message (Offline)

Ignore
1675591231
Reply with quote  #2

1675591231
Report to moderator
1675591231
Hero Member
*
Offline Offline

Posts: 1675591231

View Profile Personal Message (Offline)

Ignore
1675591231
Reply with quote  #2

1675591231
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1675591231
Hero Member
*
Offline Offline

Posts: 1675591231

View Profile Personal Message (Offline)

Ignore
1675591231
Reply with quote  #2

1675591231
Report to moderator
1675591231
Hero Member
*
Offline Offline

Posts: 1675591231

View Profile Personal Message (Offline)

Ignore
1675591231
Reply with quote  #2

1675591231
Report to moderator
unholycactus
Legendary
*
Offline Offline

Activity: 1078
Merit: 1022


https://reg-charity.org/


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!