Author

Topic: PHP RPC API: How to get the returned txid? (Read 2002 times)

legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
August 18, 2011, 07:09:56 PM
#5
I have to admit I lol'd
But hey we were all noobs once
member
Activity: 62
Merit: 10
August 18, 2011, 05:46:21 PM
#4
Wow.

Just Wow.
sr. member
Activity: 361
Merit: 250
August 18, 2011, 02: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
sr. member
Activity: 288
Merit: 250
August 18, 2011, 10:59:47 AM
#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.
sr. member
Activity: 361
Merit: 250
August 18, 2011, 04: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!
Jump to: