Bitcoin Forum

Economy => Service Discussion => Topic started by: bboop on February 25, 2014, 07:54:46 PM



Title: Blockchain.info JSON RPC API
Post by: bboop on February 25, 2014, 07:54:46 PM
I have a problem with the Blockchain.info API (https://blockchain.info/api/json_rpc_api).
Everything works fine for all the calls that don't require secondary password getinfo(), getaccount(), getbalance() etc.  but when I try to call move() or sendfrom() I get an error: "JSON-RPC method{move} with 3 parameters not found". I have setup secondary password and use walletpassphrase() which returns true before every call .

I'd be grateful for any help.


Title: Re: Blockchain.info JSON RPC API
Post by: williamj2543 on April 12, 2014, 11:12:04 PM
Have the same problem to. Did you figure it out yet?


Title: Re: Blockchain.info JSON RPC API
Post by: williamj2543 on April 13, 2014, 01:05:22 AM
I have found the problem. You have to use walletpassphrase to enter the second password. Example below:
Code:
print_r($client->walletpassphrase('mysecondpassword', '1000'));
Replace mysecondpassword with your actual second password, and the 1000 is the amount of seconds (I don't really get this, just set it to 1000).
Hope I could be of help!


Title: Re: Blockchain.info JSON RPC API
Post by: williamj2543 on July 27, 2014, 01:56:43 AM
Oh my god, sorry for bumping this, but I was looking this up on google and this was the first thing that came up, and turns out I was the one that solved the problem a couple months ago.