-
Notifications
You must be signed in to change notification settings - Fork 92
/
currency.go
18 lines (16 loc) · 849 Bytes
/
currency.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package models
type WithdrawalPriority struct {
Name string `json:"name"`
Value float64 `json:"value"`
}
type Currency struct {
CoinType string `json:"coin_type"`
Currency string `json:"currency"`
CurrencyLong string `json:"currency_long"`
DisabledDepositAddressCreation bool `json:"disabled_deposit_address_creation"`
FeePrecision int `json:"fee_precision"`
MinConfirmations int `json:"min_confirmations"`
MinWithdrawalFee float64 `json:"min_withdrawal_fee"`
WithdrawalFee float64 `json:"withdrawal_fee"`
WithdrawalPriorities []WithdrawalPriority `json:"withdrawal_priorities"`
}