Add getbalance_unlocked() function

This commit is contained in:
cryptochangements34
2017-08-15 18:43:10 -05:00
committed by GitHub
parent 5eddda211d
commit 5bb6180bb8
+7
View File
@@ -95,6 +95,13 @@ class Monero_Library
return $balance;
}
public function getbalance_unlocked()
{
$result = $this->_run('getbalance');
$balance = $result['result']['unlocked_balance'];
return $balance;
}
public function getheight()
{
$result = $this->_run('getheight');