public function getUnlockInfo() 
    {
        $params = [];
        $apiUrl = $this->getPath('unlocked/info', []);
        $response = $this->api->post($apiUrl, $params);

        //XXX include Error checks
        $object = json_decode($response);
        return $this->createBaseModel($object); //XXX brr => error/content validation first
    }
public function getUnlockInfo() 
    {
        $params = [];
        $apiUrl = $this->getPath('unlocked/info', []);
        $response = $this->api->post($apiUrl, $params);

        //XXX include Error checks
        $object = json_decode($response);
        return $this->createBaseModel($object); //XXX brr => error/content validation first
    }
public function getUnlockInfo ( ) { $ params = [ ] ; $ apiUrl = $ this -> getPath ( 'unlocked/info' , [ ] ) ; $ response = $ this -> api -> post ( $ apiUrl , $ params ) ; //XXX include Error checks $ object = json_decode ( $ response ) ; return $ this -> createBaseModel ( $ object ) ; //XXX brr => error/content validation first }
Each node can allow users to harvest with their delegated key on that node.
The NIS configuration has entries for configuring the maximum number of allowed harvesters and optionally allow
harvesting only for certain account addresses. The unlock info gives information about the maximum number of
allowed harvesters and how many harvesters are already using the node.

@return  object      Object with num-unlocked and max-unlocked keys.
Each node can allow users to harvest with their delegated key on that node . The NIS configuration has entries for configuring the maximum number of allowed harvesters and optionally allow harvesting only for certain account addresses . The unlock info gives information about the maximum number of allowed harvesters and how many harvesters are already using the node .