Bitcoin Forum
July 06, 2025, 06:09:25 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help me display transactions on webpage?  (Read 245 times)
Bhyphen (OP)
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!
LeGaulois
Copper Member
Legendary
*
Offline Offline

Activity: 2940
Merit: 4116


Top Crypto Casino


View Profile
February 09, 2019, 05:40:22 PM
Merited by mk4 (1), DdmrDdmr (1), o_e_l_e_o (1), TheBeardedBaby (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>

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Bhyphen (OP)
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
Hero Member
*****
Offline Offline

Activity: 2534
Merit: 824


Enjoy 500% bonus + 70 FS


View Profile
February 09, 2019, 06:46:04 PM
Merited by DdmrDdmr (2), masulum (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


█████████████████████████▄▄▄
████████████████████████▐███▌
█████████████████████████▀▀▀
██▄▄██▄████████████████████████▄███▄
▐██████▐█▌████▌███▌▐███▐███▀▀████▌
▀▀███▌██▌▐████▌▐███
█████▌███▌██████▌
██▐██████████████████▐███▐██████▐███
█████▌████████▐██████████▌███▌██████▌
███▀▀████▀▀████▀▀▀█████▀▀███▀▀█████▀▀


▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
▄▄█████▄▄
▄████▀█▀████▄
███▀▀▀░▀░▀▀████
██████░░██░░▐████
██████░░░░░░▀████
██████░░███░░████
███▄▄▄░░░▄▄▄███
▀████▄█▄████▀
▀▀█████▀▀



▀▀█████▀▀



▄▄█████▄▄
▄███████████▄
███░░░░░░░░░███
████▀▀▀░░░▀▀▀████
███░▀██▄▄▄██▀░███
█████▄▄░░░▄▄█████
██████░░░██████
▀████▄▄▄████▀
▀▀█████▀▀
▀▀█████████▀▀
▄▄█████▄▄
▄█████▀█████▄
██████▀░▀██████
██████░░░░░██████
█████▄░░░░░▄█████
█████▄▀▄▄▄▀▄█████
█████▄░░░▄█████
▀█████▄█████▀
▀▀█████▀▀



▀▀█████▀▀
 
LICENSED CRYPTO
CASINO & SPORTS
████
██
██
██
██
██
██
██
██
██
██
██
████
█████████████████████████████████████████████████████████
 
PLAY AND WIN
ROLLS᠆ROYCE

█████████████████████████████████████████████████████████
██████████████████████████████████████████
▄▄▄█████████████▌▐░████
▄▄█▄▄▄▄▄▄███████████████▀▀░▌▐█████
▄▄▀▀▀▄░░░░░░▐██▄▄▄▄▄▄▄░░▄▄▄▄████▄▄▀███
▄▀▀▌▄█████████▌██▌█▀▀▀█▀▐▌▐██████████████
▌█▀▌▌▌▌▌▌▌▌▌▌▌▌█▀░▄▄▄▄▄▄▀░▐▀██▀▀█████████
▐▀▀▀▌▌▌▌▌▌▌▌▌▌▌▌█▄▄▄▄▄▄▄░░░███▀█▀▄░▀█░████
▐▀▀▀█▄▄▄▄▄▄▄▄▄▄▄▀▀░░░░░░░░░███▌█▐▀▄▄▀█░███
█▄▄▄▌░░░░░░░░░░▐▄▄▄▄▄▄▄▄▄░░██▄█▀█▀▄▄██████
▐▄▄▄▀███████████▌░▄▄▄▄▄▄█▌░█▄▄█░▐▀▄▄▐█▄▄██
▐▀▀▀█▄▄▄▄▄▄▄▄▄▄▄▀▀▄▀▀▀▀▀▀░░░█▄▀██▀▄▀▐█████
▀█████▀█▀███▀▀▀▀▀▀▀▀▀▀▀▀████░█▌█▌▀▄▀▀▀▀██
██████████████████████████████████████████
..WELCOME BONUS..
500% + 70 FS
 
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!