-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathmodel_currency.go
29 lines (27 loc) · 1.11 KB
/
model_currency.go
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
/*
* Gate API v4
*
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user's behalf.
*
* Contact: [email protected]
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package gateapi
type Currency struct {
// Currency name
Currency string `json:"currency,omitempty"`
// Whether currency is de-listed
Delisted bool `json:"delisted,omitempty"`
// Whether currency's withdrawal is disabled
WithdrawDisabled bool `json:"withdraw_disabled,omitempty"`
// Whether currency's withdrawal is delayed
WithdrawDelayed bool `json:"withdraw_delayed,omitempty"`
// Whether currency's deposit is disabled
DepositDisabled bool `json:"deposit_disabled,omitempty"`
// Whether currency's trading is disabled
TradeDisabled bool `json:"trade_disabled,omitempty"`
// Fixed fee rate. Only for fixed rate currencies, not valid for normal currencies
FixedRate string `json:"fixed_rate,omitempty"`
// Chain of currency
Chain string `json:"chain,omitempty"`
}