funding

package
v1.0.34-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetValuation

type AssetValuation struct {
	TotalBal string                `json:"totalBal"`
	Ts       string                `json:"ts"`
	Details  AssetValuationDetails `json:"details"`
}

type AssetValuationDetails

type AssetValuationDetails struct {
	Funding string `json:"funding"`
	Trading string `json:"trading"`
	Classic string `json:"classic"`
	Earn    string `json:"earn"`
}

type Balance

type Balance struct {
	Ccy       string `json:"ccy"`
	Bal       string `json:"bal"`
	FrozenBal string `json:"frozenBal"`
	AvailBal  string `json:"availBal"`
}

type Bill

type Bill struct {
	BillID string           `json:"billId"`
	Ccy    string           `json:"ccy"`
	Bal    okex.JSONFloat64 `json:"bal"`
	BalChg okex.JSONFloat64 `json:"balChg"`
	Type   okex.BillType    `json:"type,string"`
	TS     okex.JSONTime    `json:"ts"`
}

type Currency

type Currency struct {
	Ccy         string `json:"ccy"`
	Name        string `json:"name"`
	Chain       string `json:"chain"`
	MinWd       string `json:"minWd"`
	MinFee      string `json:"minFee"`
	MaxFee      string `json:"maxFee"`
	CanDep      bool   `json:"canDep"`
	CanWd       bool   `json:"canWd"`
	CanInternal bool   `json:"canInternal"`
}

type DepositAddress

type DepositAddress struct {
	Addr     string           `json:"addr"`
	Tag      string           `json:"tag,omitempty"`
	Memo     string           `json:"memo,omitempty"`
	PmtID    string           `json:"pmtId,omitempty"`
	Ccy      string           `json:"ccy"`
	Chain    string           `json:"chain"`
	CtAddr   string           `json:"ctAddr"`
	Selected bool             `json:"selected"`
	To       okex.AccountType `json:"to,string"`
	TS       okex.JSONTime    `json:"ts"`
}

type DepositHistory

type DepositHistory struct {
	Ccy   string            `json:"ccy"`
	Chain string            `json:"chain"`
	TxID  string            `json:"txId"`
	From  string            `json:"from"`
	To    string            `json:"to"`
	DepId string            `json:"depId"`
	Amt   okex.JSONFloat64  `json:"amt"`
	State okex.DepositState `json:"state,string"`
	TS    okex.JSONTime     `json:"ts"`
}

type PiggyBank

type PiggyBank struct {
	Ccy  string           `json:"ccy"`
	Amt  okex.JSONFloat64 `json:"amt"`
	Side okex.ActionType  `json:"side,string"`
}

type PiggyBankBalance

type PiggyBankBalance struct {
	Ccy      string           `json:"ccy"`
	Amt      okex.JSONFloat64 `json:"amt"`
	Earnings okex.JSONFloat64 `json:"earnings"`
}

type Transfer

type Transfer struct {
	TransID string           `json:"transId"`
	Ccy     string           `json:"ccy"`
	Amt     okex.JSONFloat64 `json:"amt"`
	From    okex.AccountType `json:"from,string"`
	To      okex.AccountType `json:"to,string"`
}

type Withdrawal

type Withdrawal struct {
	Ccy   string           `json:"ccy"`
	Chain string           `json:"chain"`
	WdID  okex.JSONInt64   `json:"wdId"`
	Amt   okex.JSONFloat64 `json:"amt"`
}

type WithdrawalHistory

type WithdrawalHistory struct {
	Ccy   string               `json:"ccy"`
	Chain string               `json:"chain"`
	TxID  string               `json:"txId"`
	From  string               `json:"from"`
	To    string               `json:"to"`
	Tag   string               `json:"tag,omitempty"`
	PmtID string               `json:"pmtId,omitempty"`
	Memo  string               `json:"memo,omitempty"`
	Amt   okex.JSONFloat64     `json:"amt"`
	Fee   okex.JSONInt64       `json:"fee"`
	WdID  okex.JSONInt64       `json:"wdId"`
	State okex.WithdrawalState `json:"state,string"`
	TS    okex.JSONTime        `json:"ts"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL