Bitcoin Forum
August 21, 2019, 06:17:12 AM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help me display transactions on webpage?  (Read 125 times)
Bhyphen
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 09, 2019, 03:37:21 PM
Last edit: February 09, 2019, 04:10:05 PM by Bhyphen
 #1

I want to display the most recent blockchain transactions along with their values and time/maybe address, like bitcointicker.co/transactions has on the bottom left...

I've found the API page at blockchain.info but I don't know how to implement it, and my searching has done little to help.

I just like to tinker but it bugs me when i have so much trouble with something that seems like it should be straightforward.

New to this forum, hopefully i am posting in the correct place ❤ all help appreciated!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1566368232
Hero Member
*
Offline Offline

Posts: 1566368232

View Profile Personal Message (Offline)

Ignore
1566368232
Reply with quote  #2

1566368232
Report to moderator
1566368232
Hero Member
*
Offline Offline

Posts: 1566368232

View Profile Personal Message (Offline)

Ignore
1566368232
Reply with quote  #2

1566368232
Report to moderator
LeGaulois
Copper Member
Legendary
*
Offline Offline

Activity: 1162
Merit: 1162

Bitcoin Ninja Unregulated Banker Unbanking Folks


View Profile
February 09, 2019, 05:40:22 PM
Merited by mjglqw (1), o_e_l_e_o (1), iasenko (1), DdmrDdmr (1)
 #2

You can create a PHP file and copy paste the API inside and save it (give it a name). Then on your website, you can add this code

Code:
<iframe width="xxx" height="xxx" frameBorder="0" src="filename.php"></iframe>
Replace xxx with the size you want to get. (400x800 for exemple)

or

Code:
<div id="filename"></div>

<script>
$(document).ready(function() {
    $("#filename").load("filename.php");
});
</script>

with the second code, you will need to add the following code to your header (after <header>) to use jquery

Code:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

Bhyphen
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 09, 2019, 06:15:07 PM
 #3

You can create a PHP file and copy paste the API inside and save it (give it a name). Then on your website, you can add this code

Code:
<iframe width="xxx" height="xxx" frameBorder="0" src="filename.php"></iframe>
Replace xxx with the size you want to get. (400x800 for exemple)

or

Code:
<div id="filename"></div>

<script>
$(document).ready(function() {
    $("#filename").load("filename.php");
});
</script>

with the second code, you will need to add the following code to your header (after <header>) to use jquery

Code:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>


Thanks for your response!
Apparently what I want to use is the blockchain.com websocket API, I wish there was a tutorial on this, I'm lost 😣
coupable
Sr. Member
****
Offline Offline

Activity: 665
Merit: 269

in memory of ..Zepher


View Profile
February 09, 2019, 06:46:04 PM
Merited by DdmrDdmr (2), o_e_l_e_o (1)
 #4

As far as i can think, you are looking for begginners tutorials. Such a technical implementations require the minimum programming skills in your knowledge background.

Take a look at those links, you might find nice help there:
Use Blockchain's APIs at no cost to help you start building bitcoin apps.
Blockchain websocket API - Java-Script
blockchain websocket API - Java-Script
blockchain websocket API - Java-Script

You can always hire someone to complete the task, so you avoid all the troubles that may occurs.

Good luck
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!