-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathmodel_deposit_record.go
More file actions
33 lines (31 loc) · 1.45 KB
/
model_deposit_record.go
File metadata and controls
33 lines (31 loc) · 1.45 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
30
31
32
33
/*
* 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 DepositRecord struct {
// Record ID
Id string `json:"id,omitempty"`
// Hash record of the withdrawal
Txid string `json:"txid,omitempty"`
// Client order id, up to 32 length and can only include 0-9, A-Z, a-z, underscore(_), hyphen(-) or dot(.)
WithdrawOrderId string `json:"withdraw_order_id,omitempty"`
// Operation time
Timestamp string `json:"timestamp,omitempty"`
// Token amount
Amount string `json:"amount"`
// Currency name
Currency string `json:"currency"`
// Withdrawal address. Required for withdrawals
Address string `json:"address,omitempty"`
// Additional remarks with regards to the withdrawal
Memo string `json:"memo,omitempty"`
// Trading Status - REVIEW: Recharge review (compliance review) - PEND: Processing - DONE: Waiting for funds to be unlocked - INVALID: Invalid data - TRACK: Track the number of confirmations, waiting to add funds to the user (spot) - BLOCKED: Rejected Recharge - DEP_CREDITED: Recharge to account, withdrawal is not unlocked
Status string `json:"status,omitempty"`
// Name of the chain used in withdrawals
Chain string `json:"chain"`
}