package
Version:
v0.0.0-...-1820ca8
Opens a new window with list of versions in this module.
Published: Dec 19, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type 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"`
}
type DeleteAPIKey struct {
Pwd string `json:"pwd"`
APIKey string `json:"apiKey"`
SubAcct string `json:"subAcct"`
}
type GetBalance struct {
SubAcct string `json:"subAcct"`
}
type 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"`
}
type 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"`
}
type QueryAPIKey struct {
APIKey string `json:"apiKey"`
SubAcct string `json:"subAcct"`
}
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"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.