diff --git a/monero/library.php b/monero/library.php index 2bb4879..2ca1c5f 100644 --- a/monero/library.php +++ b/monero/library.php @@ -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');