Balance of Wallet

V 2.0

Request balance of wallet.

Bitcoin QR code icon


Simple requests:

Code Example

  $wallet = "5484e54ec0bb35c95b79d7338399900f";
  $data = file_get_contents("".$wallet."/balance");
  $respond = json_decode($data,true);
  $total = $respond["total"];
  echo "total: " . $respond["total"] . " satoshies";
Format and Variables:
Parameter Variables Present Experiment with a value
string, 32 chars

Wallet identificator

Reset Values Execute
Response from server:
{ "total": 0, "currency": "btc" }

Success response:

    "total": 0,
    "currency": "btc"

Error Response

Error response return messages in plain text format below:
Invalid wallet.