Bitcoin Forum
May 05, 2024, 01:24:53 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: site with API for unconfirmed transactions?  (Read 1112 times)
payb.tc (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
November 06, 2011, 09:01:08 AM
 #1

i am wondering if there is any site that offers an API with the functionality of this page: http://bitcoincharts.com/bitcoin

it's easy to grab data from blockexplorer for various projects, but that only displays information on confirmed transactions.

is there anywhere you can poll to find info on an unconfirmed transaction, without running bitcoind?

one could theoretically scrape http://bitcoincharts.com/bitcoin, but it may not be the most efficient method.
1714872293
Hero Member
*
Offline Offline

Posts: 1714872293

View Profile Personal Message (Offline)

Ignore
1714872293
Reply with quote  #2

1714872293
Report to moderator
1714872293
Hero Member
*
Offline Offline

Posts: 1714872293

View Profile Personal Message (Offline)

Ignore
1714872293
Reply with quote  #2

1714872293
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714872293
Hero Member
*
Offline Offline

Posts: 1714872293

View Profile Personal Message (Offline)

Ignore
1714872293
Reply with quote  #2

1714872293
Report to moderator
1714872293
Hero Member
*
Offline Offline

Posts: 1714872293

View Profile Personal Message (Offline)

Ignore
1714872293
Reply with quote  #2

1714872293
Report to moderator
1714872293
Hero Member
*
Offline Offline

Posts: 1714872293

View Profile Personal Message (Offline)

Ignore
1714872293
Reply with quote  #2

1714872293
Report to moderator
blueadept
Full Member
***
Offline Offline

Activity: 225
Merit: 101


View Profile
November 07, 2011, 02:36:04 PM
 #2

Is http://transactionradar.com/ closer to what you need?

Edit: probably not as it doesn't list new transactions as far as I can tell.

Like my posts?  Connect with me on LinkedIn and endorse my "Bitcoin" skill.
Decentralized, instant off-chain payments.
payb.tc (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
November 07, 2011, 02:45:46 PM
 #3

i was actually referred to bitcoinnotify.com but i suspect they make you specify your address beforehand, rather than pass it to an api on-the-fly.

eg. somedomain.com?addr=blahblahblah might return {"address":"blahblahblah","totalunconfirmed":"12.45"}

if you have to specify 'blahblahblah' when you sign up then it wouldn't be very useful at all.

edit: yeah i was right, i signed up and it works by getting a list of your receiving addresses and then i guess notifies you whenever any of them get funded.

i was thinking more along the lines of a site that generates a unique address per user (maybe thousands and thousands of users), and then having some api somewhere that it could poll to see if the customer sent the money or not.

all without running bitcoind.
Venkatesh Srinivas
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile WWW
November 08, 2011, 02:46:22 PM
 #4

Hi,

Sorry, didn't quite follow what you last wrote -- something like a site where getting site.awesome.com/<addr>, where the request would stall till a transaction targeting that address arrived, would that be what you're looking for?

Thanks,
--vs;
payb.tc (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
November 08, 2011, 09:20:42 PM
 #5

Hi,

Sorry, didn't quite follow what you last wrote -- something like a site where getting site.awesome.com/<addr>, where the request would stall till a transaction targeting that address arrived, would that be what you're looking for?

Thanks,
--vs;

no, it wouldn't stall, it would just return "received":"0" and you'd have to sleep(10) and poll it again later.
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!