Bitcoin Forum
April 20, 2018, 02:19:17 AM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [ANN] Open Source Javascript /Ajax Account Balance checker  (Read 687 times)
17chk4u
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
February 01, 2013, 11:09:33 AM
 #1

Not sure if this is of value to anyone, but I thought I'd put together a little Javascript / AJAX balance checker. Feel free to borrow or steal the code.

Basically, you put the Bitcoin Account or the FirstBits into the query string, and out pops the balance, along with an estimate value in US dollars.  The values for current balance, recent price, and bitcoin address given the FirstBits, are all retrieved by the client using Ajax.

http://btcbal.com
http://btcbal.com/?17chk4u81QdP26e8ieHWhhTsVF4RQh8fAh
http://btcbal.com/?17chk4u



Sample output:

       Bitcoin Balance for 17chk4u
17chk4u81QdP26e8ieHWhhTsVF4RQh8fAh

Current Balance:    0.001    Bitcoins
    Recent Price:    $21.43    per Bitcoin (weighted 24 hour average)
             Value:    $0.02    


Conversion to other currencies is an exercise left to the reader.

Of course, it's dependent on the reliability of blockchain.info's API.
1524190757
Hero Member
*
Offline Offline

Posts: 1524190757

View Profile Personal Message (Offline)

Ignore
1524190757
Reply with quote  #2

1524190757
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1524190757
Hero Member
*
Offline Offline

Posts: 1524190757

View Profile Personal Message (Offline)

Ignore
1524190757
Reply with quote  #2

1524190757
Report to moderator
1524190757
Hero Member
*
Offline Offline

Posts: 1524190757

View Profile Personal Message (Offline)

Ignore
1524190757
Reply with quote  #2

1524190757
Report to moderator
17chk4u
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
February 05, 2013, 06:38:35 PM
 #2

I'm surprised there isn't more interest in this.  Does anybody like it?  Anybody see a use for it?
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!