mirror of
https://github.com/wownero/wownerowp.git
synced 2026-10-21 17:38:34 +02:00
Add getbalance_unlocked() function
This commit is contained in:
committed by
GitHub
parent
5eddda211d
commit
5bb6180bb8
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user