1 | <?php |
||
2 | |||
3 | namespace Multicoin\Api\Traits; |
||
4 | |||
5 | trait Currency |
||
6 | { |
||
7 | public function activeCurrencys() |
||
8 | { |
||
9 | $url = '/currency'; |
||
10 | $response = $this->client->doGet($url); |
||
11 | |||
12 | return $response; |
||
13 | } |
||
14 | |||
15 | public function currency() |
||
16 | { |
||
17 | $url = $this->buildUrl('/index'); |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
18 | $response = $this->client->doGet($url); |
||
19 | |||
20 | return $response; |
||
21 | } |
||
22 | |||
23 | public function fee() |
||
24 | { |
||
25 | $url = $this->buildUrl('/fee'); |
||
26 | $response = $this->client->doGet($url); |
||
27 | |||
28 | return $response; |
||
29 | } |
||
30 | |||
31 | |||
32 | } |
||
33 |