1
I'm newbie to bitcoins. Im trying to get the info, as much as I can.
I'm trying to get the information by using getinfo() method that is mention in api documentation.
The code i have tried is mentioned below.
require_once('jsonRPCClient.php');
$bitcoin = new jsonRPCClient('http://identifier:identiferpass@rpc.blockchain.info:443');
print_r($bitcoin->getinfo());
I have googled it but didn't find the solution. I'm not getting what is the issue in the above code.
I just want to create a hello world connection. Any suggestions will be appreciated. Thank you
Do you get an error, or just nothing at all? Is the
jsonRPCClient.phpin the right directory? – Mathias711 – 2014-05-12T12:50:36.887yes it is in right directory. – user15749 – 2014-05-12T13:27:37.747
the error is : Fatal error: Uncaught exception 'RuntimeException' with message 'Unable to connect to https://identfier:password@rpc.blockchain.info:443 Error: Protocol https not supported or disabled in libcurl' in D:\wamp\www\bitcoin\jsonRPCClient.php on line 231
– user15749 – 2014-05-12T13:28:28.190and one more : RuntimeException: Unable to connect to https://identifier:identifierpasswrd@rpc.blockchain.info:443 Error: Protocol https not supported or disabled in libcurl in D:\wamp\www\bitcoin\jsonRPCClient.php on line 231
– user15749 – 2014-05-12T13:29:10.153So it looks like you cant make a connection at all. I found this site, shouldnt you make an account with password?
– Mathias711 – 2014-05-12T13:35:44.773come again please. there is a password.... – user15749 – 2014-05-12T13:48:07.020