-
Notifications
You must be signed in to change notification settings - Fork 102
/
currency.go
29 lines (26 loc) · 1.25 KB
/
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
package bittrex
import "github.com/shopspring/decimal"
type Currency struct {
Currency string `json:"Currency"`
CurrencyLong string `json:"CurrencyLong"`
MinConfirmation int `json:"MinConfirmation"`
TxFee decimal.Decimal `json:"TxFee"`
IsActive bool `json:"IsActive"`
CoinType string `json:"CoinType"`
BaseAddress string `json:"BaseAddress"`
Notice string `json:"Notice"`
}
type CurrencyV3 struct {
Symbol string `json:"symbol"`
Name string `json:"name"`
CoinType string `json:"coinType"`
Status string `json:"status"`
MinConfirmations int `json:"minConfirmations"`
Notice string `json:"notice"`
TxFee decimal.Decimal `json:"txFee"`
LogoURL string `json:"logoUrl,omitempty"`
ProhibitedIn []interface{} `json:"prohibitedIn"`
BaseAddress string `json:"baseAddress,omitempty"`
AssociatedTermsOfService []interface{} `json:"associatedTermsOfService"`
Tags []string `json:"tags"`
}