Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include 'driver_test.php'; # here is jsonRPCClient class in
- $w_user = "WALLET-ID";
- $w_pass = "PASSWORD";
- $w_host = "rpc.blockchain.info";
- $w_port = "443";
- $test=new jsonRPCClient('http://'.$_GET['w_user'].':'.$_GET['w_pass'].'@'.$_GET['w_host'].':'.$_GET['w_port'].'/');
- @$test_call=$test->getbalance();
- echo json_encode(array('result'=>$test_call));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement