mirror of
https://github.com/kevachat/kevacoin-php.git
synced 2025-01-22 04:24:28 +00:00
implement kevaGroupFilter method
This commit is contained in:
parent
c84df1c1be
commit
b872804351
@ -761,4 +761,31 @@ class Client
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public function kevaGroupFilter(string $namespace): ?array
|
||||
{
|
||||
$this->_id++;
|
||||
|
||||
$this->_prepare(
|
||||
'',
|
||||
'POST',
|
||||
[
|
||||
'method' => 'keva_group_filter',
|
||||
'params' =>
|
||||
[
|
||||
$namespace
|
||||
],
|
||||
'id' => $this->_id
|
||||
]
|
||||
);
|
||||
|
||||
$response = $this->_execute();
|
||||
|
||||
if (isset($response['result']) && is_array($response['result']))
|
||||
{
|
||||
return $response['result'];
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user