1 Star 0 Fork 1

陕西洛鑫橙云网络科技有限公司/okex

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
subaccount_requests.go 1.60 KB
Copy Edit Raw Blame History
Admin authored 2023-04-19 18:45 +08:00 . 1.0.0
package subaccount
import "gitee.com/lxcy2023/okex"
type (
ViewList struct {
SubAcct string `json:"subAcct,omitempty"`
Enable bool `json:"enable,omitempty"`
After int64 `json:"after,omitempty,string"`
Before int64 `json:"before,omitempty,string"`
Limit int64 `json:"limit,omitempty,string"`
}
CreateAPIKey struct {
Pwd string `json:"pwd"`
SubAcct string `json:"subAcct"`
Label string `json:"label"`
Passphrase string `json:"Passphrase"`
IP []string `json:"ip,omitempty"`
Perm okex.APIKeyAccess `json:"perm,omitempty"`
}
QueryAPIKey struct {
APIKey string `json:"apiKey"`
SubAcct string `json:"subAcct"`
}
DeleteAPIKey struct {
Pwd string `json:"pwd"`
APIKey string `json:"apiKey"`
SubAcct string `json:"subAcct"`
}
GetBalance struct {
SubAcct string `json:"subAcct"`
}
HistoryTransfer struct {
Ccy string `json:"ccy,omitempty"`
SubAcct string `json:"subAcct,omitempty"`
After int64 `json:"after,omitempty,string"`
Before int64 `json:"before,omitempty,string"`
Limit int64 `json:"limit,omitempty,string"`
Type okex.TransferType `json:"type,omitempty,string"`
}
ManageTransfers struct {
Ccy string `json:"ccy"`
FromSubAccount string `json:"fromSubAccount"`
ToSubAccount string `json:"tiSubAccount"`
Amt float64 `json:"amt,string"`
From okex.AccountType `json:"from,string"`
To okex.AccountType `json:"to,string"`
}
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/lxcy2023/okex.git
git@gitee.com:lxcy2023/okex.git
lxcy2023
okex
okex
v1.0.51

Search