@@ -17,26 +17,35 @@ type Currency struct {
1717 QRPrefix string `json:"qr_prefix"`
1818 CryptoPaymentIDName string `json:"crypto_payment_id_name"`
1919 CryptoExplorer string `json:"crypto_explorer"`
20+ AccountTopOrder int64 `json:"account_top_order"`
2021 Delisted bool `json:"delisted"`
2122 Networks []Network `json:"networks"`
2223}
2324
2425type Network struct {
25- Network string `json:"network"`
26- Protocol string `json:"protocol"`
27- Default bool `json:"default"`
28- PayinEnabled bool `json:"payin_enabled"`
29- PayoutEnabled bool `json:"payout_enabled"`
30- PrecisionPayout string `json:"presicion_payout"`
31- PayoutFee string `str:"payout_fee"`
32- PayoutIsPaymentID bool `json:"payout_is_payment_id"`
33- PayinPaymentID bool `json:"payin_payment_id"`
34- PayinConfirmations int `json:"payin_confirmation"`
35- AddressRegex string `json:"address_confirmation"`
36- PaymentIDRegex string `json:"payment_id_regex"`
37- LowProcessingTime string `json:"low_processing_time"`
38- HighProcessingTime string `json:"high_processing_time"`
39- AvgProcessingTime string `json:"avg_processing_time"`
26+ Code string `json:"code"`
27+ Network string `json:"network"`
28+ NetworkName string `json:"network_name"`
29+ IsEnsAvailable bool `json:"is_ens_available"`
30+ Protocol string `json:"protocol"`
31+ Default bool `json:"default"`
32+ PayinEnabled bool `json:"payin_enabled"`
33+ PayoutEnabled bool `json:"payout_enabled"`
34+ PrecisionPayout string `json:"presicion_payout"`
35+ PayoutFee string `json:"payout_fee"`
36+ PayoutIsPaymentID bool `json:"payout_is_payment_id"`
37+ PayinPaymentID bool `json:"payin_payment_id"`
38+ PayinConfirmations int `json:"payin_confirmation"`
39+ AddressRegex string `json:"address_confirmation"`
40+ PaymentIDRegex string `json:"payment_id_regex"`
41+ LowProcessingTime string `json:"low_processing_time"`
42+ HighProcessingTime string `json:"high_processing_time"`
43+ AvgProcessingTime string `json:"avg_processing_time"`
44+ CryptoPaymentIdName string `json:"crypto_payment_id_name"`
45+ CryptoExplorer string `json:"crypto_explorer"`
46+ ContractAddress string `json:"contract_address"`
47+ IsMultiChain bool `json:"is_multichain"`
48+ AssetId map [string ]string `json:"asset_id"`
4049}
4150
4251// Balance is the amount of currency a user have
@@ -172,14 +181,16 @@ type Trade struct {
172181// Transaction is a movement of currency,
173182// not in the market, but related on the exchange
174183type Transaction struct {
175- ID int64 `json:"id"`
176- Status args.TransactionStatusType `json:"status"`
177- Type args.TransactionTypeType `json:"type"`
178- SubType args.TransactionSubTypeType `json:"subtype"`
179- CreatedAt string `json:"created_at"`
180- UpdatedAt string `json:"updated_at"`
181- Native NativeTransaction `json:"native"`
182- Meta MetaTransaction `json:"meta"`
184+ ID int64 `json:"id"`
185+ Status args.TransactionStatusType `json:"status"`
186+ Type args.TransactionTypeType `json:"type"`
187+ SubType args.TransactionSubTypeType `json:"subtype"`
188+ CreatedAt string `json:"created_at"`
189+ UpdatedAt string `json:"updated_at"`
190+ LastActivityAt string `json:"last_activity_at"`
191+ Native NativeTransaction `json:"native"`
192+ Meta MetaTransaction `json:"meta"`
193+ CommitRisk CommitRisk `json:"commit_risk"`
183194}
184195
185196type NativeTransaction struct {
@@ -217,6 +228,12 @@ type MetaTransaction struct {
217228 PaymentMethodType string `json:"payment_method_type"`
218229}
219230
231+ type CommitRisk struct {
232+ Score int `json:"score"`
233+ Rbf bool `json:"rbf"`
234+ LowFee bool `json:"low_fee"`
235+ }
236+
220237// CryptoAddress is an crypto address
221238type CryptoAddress struct {
222239 Currency string `json:"currency"`
0 commit comments