Bitcoin Forum
November 09, 2024, 02:15:06 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ***btc api or solution wanted!!!!  (Read 562 times)
Markus11 (OP)
Sr. Member
****
Offline Offline

Activity: 325
Merit: 250


View Profile
May 20, 2013, 07:07:29 PM
 #1

hello,

Which woul be the easiest way i can display the value of an public key on my homepage?

thx alot

IOTA - Donations are welcome:
BZOQCWBWUXBMQFNJ9VKIXSLUAIYSDHMZTILQQWBEMCWAIQITXT9HBUHLJGXU9OYKWJTTUAJMOZECPFB UWKNUXIMUZ9
franky1
Legendary
*
Online Online

Activity: 4396
Merit: 4760



View Profile
May 20, 2013, 07:29:19 PM
 #2

http://blockchain.info/q/addressbalance/1YourPublicAddressGoesHere

if using PHP
$atoshi = file_get_contents('http://blockchain.info/q/addressbalance/1YourPublicAddressGoesHere');
$bitcoin = $atoshi /100000000;
echo $bitcoin;

or something like that

I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
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!