Bitcoin Forum
June 28, 2024, 07:40:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Other / Beginners & Help / Re: Help me display transactions on webpage? on: February 09, 2019, 06:15:07 PM
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 😣
2  Other / Beginners & Help / Help me display transactions on webpage? on: February 09, 2019, 03:37:21 PM
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!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!