Bitcoin Forum
June 29, 2017, 12:37:12 PM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: PHP RPC API: How to get the returned txid?  (Read 1794 times)
winnetou
Sr. Member
****
Offline Offline

Activity: 361


View Profile
August 18, 2011, 09:54:43 AM
 #1

Hello,

I want to check if a transaction was successfully sent. How can I do this with the PHP RPC API?

Maybe about getting the returned transaction id? How do I do this?

e.g. I use this command for sending: $bitcoin->sendfrom(fromthisaccount,tothisbitcoinaddress,$sendamount,4,"txcomment");

Hope somebody can help me!

Thank you!
1498739832
Hero Member
*
Offline Offline

Posts: 1498739832

View Profile Personal Message (Offline)

Ignore
1498739832
Reply with quote  #2

1498739832
Report to moderator
1498739832
Hero Member
*
Offline Offline

Posts: 1498739832

View Profile Personal Message (Offline)

Ignore
1498739832
Reply with quote  #2

1498739832
Report to moderator
1498739832
Hero Member
*
Offline Offline

Posts: 1498739832

View Profile Personal Message (Offline)

Ignore
1498739832
Reply with quote  #2

1498739832
Report to moderator
POLONIEX TRADING SIGNALS
+50% Profit and more via TELEGRAM
ALTCOINTRADER.CO
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1498739832
Hero Member
*
Offline Offline

Posts: 1498739832

View Profile Personal Message (Offline)

Ignore
1498739832
Reply with quote  #2

1498739832
Report to moderator
1498739832
Hero Member
*
Offline Offline

Posts: 1498739832

View Profile Personal Message (Offline)

Ignore
1498739832
Reply with quote  #2

1498739832
Report to moderator
Nicksasa
Sr. Member
****
Offline Offline

Activity: 288



View Profile WWW
August 18, 2011, 03:59:47 PM
 #2

Hello,

I want to check if a transaction was successfully sent. How can I do this with the PHP RPC API?

Maybe about getting the returned transaction id? How do I do this?

e.g. I use this command for sending: $bitcoin->sendfrom(fromthisaccount,tothisbitcoinaddress,$sendamount,4,"txcomment");

Hope somebody can help me!

Thank you!
$txid = $bitcoin->sendfrom(fromthisaccount,tothisbitcoinaddress,$sendamount,4,"txcomment");
$txid contains your transaction id now.

winnetou
Sr. Member
****
Offline Offline

Activity: 361


View Profile
August 18, 2011, 07:54:52 PM
 #3

Hello,

I want to check if a transaction was successfully sent. How can I do this with the PHP RPC API?

Maybe about getting the returned transaction id? How do I do this?

e.g. I use this command for sending: $bitcoin->sendfrom(fromthisaccount,tothisbitcoinaddress,$sendamount,4,"txcomment");

Hope somebody can help me!

Thank you!
$txid = $bitcoin->sendfrom(fromthisaccount,tothisbitcoinaddress,$sendamount,4,"txcomment");
$txid contains your transaction id now.

omg, call me n00b. thank you
brandon@sourcewerks
Member
**
Offline Offline

Activity: 62



View Profile
August 18, 2011, 10:46:21 PM
 #4

Wow.

Just Wow.
jackjack
Legendary
*
Online Online

Activity: 1064


May Bitcoin be touched by his Noodly Appendage


View Profile
August 19, 2011, 12:09:56 AM
 #5

I have to admit I lol'd
But hey we were all noobs once

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!