Post
Topic
Board Bitcoin Technical Support
Re: Proper API Parameter Formatting
by
a63ntsm1th
on 13/09/2012, 03:45:07 UTC
Thanks to for all the help, been fun learning the API

only 1 problem remains, I can't get sendrawtransaction to work.  I can get raw hex (as ouputed from signrawtransaction) as follows:
Code:
$bitcoin = "" //connect to server

$signedtx = $bitcoin->signrawtransaction($inputs,$outputs);
Outputs
Code:
Array
(
   [hex] => 0100..........
   [complete] => 1
)

After some trouble I even dump into non array...
Code:
$signedHEX = $signedtx['hex'];
however still no luck with:
Code:
$senttx = $bitcoin->sendrawtransaction($signedHEX);

var dumps show both the array and the var both string(518)

all my other code runs, just this one line...