forked from gateio/gateapi-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_ledger_record.go
29 lines (27 loc) · 998 Bytes
/
model_ledger_record.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
/*
* Gate API v4
*
* APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user's behalf.
*
* Contact: support@mail.gate.io
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package gateapi
type LedgerRecord struct {
// Record ID
Id string `json:"id,omitempty"`
// Hash record of the withdrawal
Txid string `json:"txid,omitempty"`
// Record time
Timestamp string `json:"timestamp,omitempty"`
// Trade amount
Amount string `json:"amount"`
// Record currency
Currency string `json:"currency"`
// Withdrawal address. Required for withdrawals
Address string `json:"address,omitempty"`
// Extra withdrawal memo
Memo string `json:"memo,omitempty"`
// Record status. - DONE: done - CANCEL: cancelled - REQUEST: requesting - MANUAL: waiting for manual approval - BCODE: GateCode operation
Status string `json:"status,omitempty"`
}