Bitcoin Forum
May 30, 2024, 10:57:56 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ***btc api or solution wanted!!!!  (Read 539 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
*
Offline Offline

Activity: 4228
Merit: 4501



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!