-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathNode.php
More file actions
60 lines (53 loc) · 1.05 KB
/
Node.php
File metadata and controls
60 lines (53 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
declare(strict_types=1);
namespace ArkEcosystem\Client\API;
class Node extends AbstractAPI
{
/**
* Get the node status.
*
* @return array
*/
public function status(): ?array
{
return $this->requestGet('node/status');
}
/**
* Get the node syncing status.
*
* @return array
*/
public function syncing(): ?array
{
return $this->requestGet('node/syncing');
}
/**
* Get the node configuration.
*
* @return array
*/
public function configuration(): ?array
{
return $this->requestGet('node/configuration');
}
/**
* Get the node crypto configuration.
*
* @return array
*/
public function crypto(): ?array
{
return $this->requestGet('node/configuration/crypto');
}
/**
* Get the node fee statistics.
*
* @param array $query
*
* @return array
*/
public function fees(array $query = []): ?array
{
return $this->requestGet('node/fees', $query);
}
}