Documentation ¶
Index ¶
- type Balance
- type Coin
- type History
- type RequestForBalances
- type RequestForBalancesAll
- type RequestForCoins
- type RequestForDepositAddress
- type RequestForDepositHistories
- type RequestForWithdraw
- type RequestForWithdrawHistories
- type ResponseForBalances
- type ResponseForBalancesAll
- type ResponseForCoins
- type ResponseForDepositAddress
- type ResponseForDepositHistories
- type ResponseForWithdraw
- type ResponseForWithdrawHistories
- type Withdraw
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coin ¶
type Coin struct { ID string `json:"id"` Name string `json:"name"` CanDeposit bool `json:"canDeposit"` CanWithdraw bool `json:"canWithdraw"` HasTag bool `json:"hasTag"` Collateral bool `json:"collateral"` UsdFungible bool `json:"usdFungible"` IsEtf bool `json:"isEtf"` IsToken bool `json:"isToken"` Hidden bool `json:"hidden"` CanConvert bool `json:"canConvert"` CollateralWeight float64 `json:"collateralWeight"` Fiat bool `json:"fiat"` Methods []string `json:"methods"` Erc20Contract string `json:"erc20Contract"` Bep2Asset string `json:"bep2Asset"` Trc20Contract string `json:"trc20Contract"` SplMint string `json:"splMint"` CreditTo string `json:"creditTo"` SpotMargin bool `json:"spotMargin"` NftQuoteCurrencyEligible bool `json:"nftQuoteCurrencyEligible"` IndexPrice float64 `json:"indexPrice"` }
type History ¶
type History struct { Coin string `json:"coin"` Status string `json:"status"` Txid string `json:"txid"` Size float64 `json:"size"` Fee float64 `json:"fee"` Confirmations int `json:"confirmations"` ID int `json:"id"` ConfirmedTime time.Time `json:"confirmedTime"` SentTime time.Time `json:"sentTime"` Time time.Time `json:"time"` }
type RequestForBalances ¶
type RequestForBalances struct { }
func (*RequestForBalances) Method ¶
func (req *RequestForBalances) Method() string
func (*RequestForBalances) Path ¶
func (req *RequestForBalances) Path() string
func (*RequestForBalances) Payload ¶
func (req *RequestForBalances) Payload() []byte
func (*RequestForBalances) Query ¶
func (req *RequestForBalances) Query() string
type RequestForBalancesAll ¶
type RequestForBalancesAll struct { }
func (*RequestForBalancesAll) Method ¶
func (req *RequestForBalancesAll) Method() string
func (*RequestForBalancesAll) Path ¶
func (req *RequestForBalancesAll) Path() string
func (*RequestForBalancesAll) Payload ¶
func (req *RequestForBalancesAll) Payload() []byte
func (*RequestForBalancesAll) Query ¶
func (req *RequestForBalancesAll) Query() string
type RequestForCoins ¶
type RequestForCoins struct { }
func (*RequestForCoins) Method ¶
func (req *RequestForCoins) Method() string
func (*RequestForCoins) Path ¶
func (req *RequestForCoins) Path() string
func (*RequestForCoins) Payload ¶
func (req *RequestForCoins) Payload() []byte
func (*RequestForCoins) Query ¶
func (req *RequestForCoins) Query() string
type RequestForDepositAddress ¶
func (*RequestForDepositAddress) Method ¶
func (req *RequestForDepositAddress) Method() string
func (*RequestForDepositAddress) Path ¶
func (req *RequestForDepositAddress) Path() string
func (*RequestForDepositAddress) Payload ¶
func (req *RequestForDepositAddress) Payload() []byte
func (*RequestForDepositAddress) Query ¶
func (req *RequestForDepositAddress) Query() string
type RequestForDepositHistories ¶
type RequestForDepositHistories struct { StartTime time.Time `url:"start_time,omitempty"` EndTime time.Time `url:"end_time,omitempty"` }
func (*RequestForDepositHistories) Method ¶
func (req *RequestForDepositHistories) Method() string
func (*RequestForDepositHistories) Path ¶
func (req *RequestForDepositHistories) Path() string
func (*RequestForDepositHistories) Payload ¶
func (req *RequestForDepositHistories) Payload() []byte
func (*RequestForDepositHistories) Query ¶
func (req *RequestForDepositHistories) Query() string
type RequestForWithdraw ¶
type RequestForWithdraw struct { Coin string `json:"coin"` Size float64 `json:"size"` Address string `json:"address"` // Optionals Tag string `json:"tag,omitempty"` Methods string `json:"method,omitempty"` Password string `json:"password,omitempty"` Code string `json:"code,omitempty"` }
func (*RequestForWithdraw) Method ¶
func (req *RequestForWithdraw) Method() string
func (*RequestForWithdraw) Path ¶
func (req *RequestForWithdraw) Path() string
func (*RequestForWithdraw) Payload ¶
func (req *RequestForWithdraw) Payload() []byte
func (*RequestForWithdraw) Query ¶
func (req *RequestForWithdraw) Query() string
type RequestForWithdrawHistories ¶
type RequestForWithdrawHistories struct { }
func (*RequestForWithdrawHistories) Method ¶
func (req *RequestForWithdrawHistories) Method() string
func (*RequestForWithdrawHistories) Path ¶
func (req *RequestForWithdrawHistories) Path() string
func (*RequestForWithdrawHistories) Payload ¶
func (req *RequestForWithdrawHistories) Payload() []byte
func (*RequestForWithdrawHistories) Query ¶
func (req *RequestForWithdrawHistories) Query() string
type ResponseForBalances ¶
type ResponseForBalances []Balance
type ResponseForBalancesAll ¶
type ResponseForCoins ¶
type ResponseForCoins []Coin
type ResponseForDepositHistories ¶
type ResponseForDepositHistories []History
type ResponseForWithdraw ¶
type ResponseForWithdraw struct { Coin string `json:"coin,omitempty"` Address string `json:"address,omitempty"` Tag string `json:"tag,omitempty"` Fee float64 `json:"fee,omitempty"` ID int64 `json:"id,omitempty"` Size float64 `json:"size,omitempty"` Status string `json:"status,omitempty"` // one of "requested", "processing", "complete", or "cancelled" Time time.Time `json:"time,omitempty"` TxID string `json:"txid,omitempty"` }
type ResponseForWithdrawHistories ¶
type ResponseForWithdrawHistories []Withdraw
Click to show internal directories.
Click to hide internal directories.