Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $guid="xxxxxxxxx";
- $main_password="xxxxxxxxx";
- $json_url = "https://blockchain.info/merchant/$guid/balance?password=$main_password";
- $json_data = file_get_contents($json_url);
- $json_feed = json_decode($json_data);
- $balance = $json_feed->balance;
- echo $balance;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement