forked from gateio/gateapi-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodel_sub_account_transfer.go
More file actions
27 lines (25 loc) · 897 Bytes
/
model_sub_account_transfer.go
File metadata and controls
27 lines (25 loc) · 897 Bytes
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
/*
* 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 SubAccountTransfer struct {
// Transfer currency name
Currency string `json:"currency"`
// Sub account user ID
SubAccount string `json:"sub_account"`
// Transfer direction. to - transfer into sub account; from - transfer out from sub account
Direction string `json:"direction"`
// Transfer amount
Amount string `json:"amount"`
// Main account user ID
Uid string `json:"uid,omitempty"`
// Transfer timestamp
Timest string `json:"timest,omitempty"`
// Where the operation is initiated from
Source string `json:"source,omitempty"`
}