-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathmodel_currency.go
33 lines (31 loc) · 1.32 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
30
31
32
33
/*
* 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: support@mail.gate.io
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package gateapi
type Currency struct {
// Currency symbol
Currency string `json:"currency,omitempty"`
// Currency name
Name string `json:"name,omitempty"`
// Whether currency is de-listed
Delisted bool `json:"delisted,omitempty"`
// Whether currency's withdrawal is disabled (deprecated)
WithdrawDisabled bool `json:"withdraw_disabled,omitempty"`
// Whether currency's withdrawal is delayed (deprecated)
WithdrawDelayed bool `json:"withdraw_delayed,omitempty"`
// Whether currency's deposit is disabled (deprecated)
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"`
// The main chain corresponding to the coin
Chain string `json:"chain,omitempty"`
// All links corresponding to coins
Chains []SpotCurrencyChain `json:"chains,omitempty"`
}