Author

Topic: Can't seem to get rpc.blockchain.info to work, says it can't find the method (Read 308 times)

jr. member
Activity: 55
Merit: 1
I just wanna do a get info

sorry this is c#, but
                        string host = "rpc.blockchain.info";
                        string port = "443";
                        string user = "xxxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx";
                        string pwd = "myPasswordForBlockChain";

                    BitnetClient bc = new BitnetClient("https://" + host + ":" + port);
                    bc.Credentials = new NetworkCredential(user, pwd);
                    var jj = bc.GetInfo();

This is with the wrapper suggested, I also tried it without the wrapper and my own web request and it failed.

this is the response i get back:
{"error":{"message":"JSON-RPC method [getinfo] with 0 parameters not found.","code":-32601},"jsonrpc":"2.0"}

I really just want to use the verifymessage call, but I couldn't find a public API that did this.
And I don't want to run bitcoinqt or whatever on my machine.
Jump to: