Bitcoin Forum
April 26, 2024, 08:11:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help me display transactions on webpage?  (Read 211 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!
1714119093
Hero Member
*
Offline Offline

Posts: 1714119093

View Profile Personal Message (Offline)

Ignore
1714119093
Reply with quote  #2

1714119093
Report to moderator
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714119093
Hero Member
*
Offline Offline

Posts: 1714119093

View Profile Personal Message (Offline)

Ignore
1714119093
Reply with quote  #2

1714119093
Report to moderator
1714119093
Hero Member
*
Offline Offline

Posts: 1714119093

View Profile Personal Message (Offline)

Ignore
1714119093
Reply with quote  #2

1714119093
Report to moderator
LeGaulois
Copper Member
Legendary
*
Offline Offline

Activity: 2870
Merit: 4090


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: 2338
Merit: 757


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