1 | <?php |
||
13 | class Account extends Api |
||
14 | { |
||
15 | /** |
||
16 | * @return array |
||
17 | * @throws Exception |
||
18 | */ |
||
19 | public function getBalances(): array |
||
23 | |||
24 | /** |
||
25 | * @param string $currency |
||
26 | * @return array |
||
27 | * @throws Exception |
||
28 | */ |
||
29 | public function getBalance(string $currency): array |
||
35 | |||
36 | /** |
||
37 | * @param string $currency |
||
38 | * @return array |
||
39 | * @throws Exception |
||
40 | */ |
||
41 | public function getDepositAddress(string $currency): array |
||
47 | |||
48 | /** |
||
49 | * @param string $currency |
||
50 | * @param float $quantity |
||
51 | * @param string $address |
||
52 | * @param string|null $paymentId |
||
53 | * @return array |
||
54 | * @throws Exception |
||
55 | */ |
||
56 | public function withdraw(string $currency, float $quantity, string $address, ?string $paymentId = null): array |
||
66 | |||
67 | /** |
||
68 | * @param string $uuid |
||
69 | * @return array |
||
70 | * @throws Exception |
||
71 | */ |
||
72 | public function getOrder(string $uuid): array |
||
78 | |||
79 | /** |
||
80 | * @param string|null $market |
||
81 | * @return array |
||
82 | * @throws Exception |
||
83 | */ |
||
84 | public function getOrderHistory(?string $market = null): array |
||
94 | |||
95 | /** |
||
96 | * @param string|null $currency |
||
97 | * @return array |
||
98 | * @throws Exception |
||
99 | */ |
||
100 | public function getWithdrawalHistory(string $currency = null): array |
||
110 | |||
111 | /** |
||
112 | * @param string|null $currency |
||
113 | * @return array |
||
114 | * @throws Exception |
||
115 | */ |
||
116 | public function getDepositHistory(?string $currency = null): array |
||
126 | } |
||
127 |