Advertisement
Guest User

Untitled

a guest
Jan 21st, 2017
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. include 'driver_test.php'; # here is jsonRPCClient class in
  2. $w_user = "WALLET-ID";
  3. $w_pass = "PASSWORD";
  4. $w_host = "rpc.blockchain.info";
  5. $w_port = "443";
  6. $test=new jsonRPCClient('http://'.$_GET['w_user'].':'.$_GET['w_pass'].'@'.$_GET['w_host'].':'.$_GET['w_port'].'/');
  7. @$test_call=$test->getbalance();
  8.  
  9. echo json_encode(array('result'=>$test_call));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement