-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathmodel_currency_chain.go
More file actions
29 lines (27 loc) · 1.12 KB
/
model_currency_chain.go
File metadata and controls
29 lines (27 loc) · 1.12 KB
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
*
* Welcome to Gate API APIv4 provides operations related to spot, margin, and contract trading, including public interfaces for querying market data and authenticated private interfaces for implementing API-based automated trading.
*
* Contact: support@mail.gate.com
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package gateapi
type CurrencyChain struct {
// Chain name
Chain string `json:"chain,omitempty"`
// Chain name in Chinese
NameCn string `json:"name_cn,omitempty"`
// Chain name in English
NameEn string `json:"name_en,omitempty"`
// Smart contract address for the currency; if no address is available, it will be an empty string
ContractAddress string `json:"contract_address,omitempty"`
// If it is disabled. 0 means NOT being disabled
IsDisabled int32 `json:"is_disabled,omitempty"`
// Is deposit disabled. 0 means not disabled
IsDepositDisabled int32 `json:"is_deposit_disabled,omitempty"`
// Is withdrawal disabled. 0 means not disabled
IsWithdrawDisabled int32 `json:"is_withdraw_disabled,omitempty"`
// Withdrawal precision
Decimal string `json:"decimal,omitempty"`
}