1 Star 0 Fork 1

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

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
subaccount_requests.go 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
Admin 提交于 2023-04-19 18:45 . 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"`
}
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/lxcy2023/okex.git
git@gitee.com:lxcy2023/okex.git
lxcy2023
okex
okex
v1.0.51

搜索帮助

D67c1975 1850385 1daf7b77 1850385