Title: Help me display transactions on webpage? Post by: Bhyphen 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! Title: Re: Help me display transactions on webpage? Post by: LeGaulois on February 09, 2019, 05:40:22 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> or Code: <div id="filename"></div> 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> Title: Re: Help me display transactions on webpage? Post by: Bhyphen 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> or Code: <div id="filename"></div> 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 😣 Title: Re: Help me display transactions on webpage? Post by: coupable on February 09, 2019, 06:46:04 PM 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. (https://www.blockchain.com/en/api) Blockchain websocket API - Java-Script (https://www.youtube.com/watch?v=55xvr2oqMdk) blockchain websocket API - Java-Script (https://www.youtube.com/watch?v=125XVShcsoA) blockchain websocket API - Java-Script (https://www.youtube.com/watch?v=OAquv6CSYEY) You can always hire someone to complete the task, so you avoid all the troubles that may occurs. Good luck |