16243/how-to-get-amount-of-bitcoins-in-php
I'm using Coinbase, but they don't have an API call to get the amount of Bitcoins per address. So how can I get this information using PHP?
I’ve tried this code and it works:
<?php function getBalance($address) { return file_get_contents('https://blockchain.info/de/q/addressbalance/'. $address); } echo 'Address Balance: ' . getBalance('1EzwoHtiXB4iFwedPr49iywjZn2nnekhoj');
Using the https://blockchain.info/de/q API.
It's a lot of question. I will ...READ MORE
First, your sendMoney() call is stored into ...READ MORE
This information can easily be calculated by ...READ MORE
You can write a function that will ...READ MORE
Just remove the json_encode call, and it should work: $resp ...READ MORE
I had a similiar issue connecting this API, ...READ MORE
This was a bug. They've fixed it. ...READ MORE
Convert the recipes into JSON objects. x = ...READ MORE
You can use Javascript with the Metamask ...READ MORE
You have to describe each component in ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.