Bitcoin Forum
May 28, 2024, 12:20:11 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how to verify transaction from php script  (Read 80 times)
brian9876 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 11, 2018, 10:29:05 AM
 #1

Hi
Is there any way to verify transaction from php script? Or get transaction information from php script somehow.
Any information is much appreciated
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3486
Merit: 6150



View Profile
December 11, 2018, 11:46:41 AM
 #2

It's unclear what you're trying to do but you could start from here: https://bitcoin.stackexchange.com/questions/44373/how-would-one-monitor-an-address-for-a-transaction-and-1-confirmation-in-php

If your goal is to build a blockexplorer, then using third party APIs wouldn't make sense in that case. Try to look for open source projects (Insight, Blockcypther etc.)

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
mocacinno
Legendary
*
Offline Offline

Activity: 3402
Merit: 4984


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
December 11, 2018, 11:57:12 AM
 #3

Like OmegaStarScream, i'm unsure about your intentions...
If you're trying to monitor an address for transactions funding it, follow OmegaStarScream's advice and use an api, or install bitcoind and use the json-rpc interface (both are quite easy to do using a php script).

If you're trying to verify if a transaction is valid, i guess https://github.com/Bit-Wasp/bitcoin-php might be usefull for you.

Anyways, before we're able to give you advice tailored to your situation, we need more info...

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!