forked from toorop/go-bittrex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deposit.go
32 lines (28 loc) · 1.15 KB
/
deposit.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
package bittrex
import "github.com/shopspring/decimal"
type Deposit struct {
Id int64 `json:"Id"`
Amount decimal.Decimal `json:"Amount"`
Currency string `json:"Currency"`
Confirmations int `json:"Confirmations"`
LastUpdated jTime `json:"LastUpdated"`
TxId string `json:"TxId"`
CryptoAddress string `json:"CryptoAddress"`
}
type DepositV3 struct {
ID string `json:"id"`
CurrencySymbol string `json:"currencySymbol"`
Quantity decimal.Decimal `json:"quantity"`
CryptoAddress string `json:"cryptoAddress"`
CryptoAddressTag string `json:"cryptoAddressTag"`
TxID string `json:"txId"`
Confirmations int32 `json:"confirmations"`
UpdatedAt string `json:"updatedAt"`
CompletedAt string `json:"completedAt"`
Status string `json:"status"`
Source string `json:"source"`
}
type DepositHistoryParams struct {
Status string `url:"status,omitempty"`
CurrencySymbol string `url:"currencySymbol,omitempty"`
}