Documentation ¶
Index ¶
- type CancelWithdrawResponse
- type CreateWithdrawRequest
- type CreateWithdrawResponse
- type DepositAddress
- type DepositWithdraw
- type GetDepositAddressResponse
- type GetWithdrawAddressResponse
- type GetWithdrawQuotaResponse
- type QueryDepositWithdrawOptionalRequest
- type QueryDepositWithdrawResponse
- type WithdrawQuota
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelWithdrawResponse ¶
type CreateWithdrawRequest ¶
type CreateWithdrawResponse ¶
type DepositAddress ¶
type DepositWithdraw ¶
type DepositWithdraw struct { Id int64 `json:"id"` Type string `json:"type"` Currency string `json:"currency"` TxHash string `json:"tx-hash"` Chain string `json:"chain"` Amount decimal.Decimal `json:"amount"` Address string `json:"address"` AddressTag string `json:"address-tag"` Fee decimal.Decimal `json:"fee"` State string `json:"state"` CreatedAt int64 `json:"created-at"` UpdatedAt int64 `json:"updated-at"` }
type GetDepositAddressResponse ¶
type GetDepositAddressResponse struct { Code int `json:"code"` Message string `json:"message"` Data []DepositAddress `json:"data"` }
type GetWithdrawAddressResponse ¶
type GetWithdrawAddressResponse struct { Code int `json:"code"` Message string `json:"message"` Data []struct { Currency string `json:"currency"` Chain string `json:"chain"` Address string `json:"address"` AddressTag string `json:"addressTag"` Note string `json:"note"` } NextId int64 `json:"nextId"` }
type GetWithdrawQuotaResponse ¶
type GetWithdrawQuotaResponse struct { Code int `json:"code"` Message string `json:"message"` Data *WithdrawQuota `json:"data"` }
type QueryDepositWithdrawResponse ¶
type QueryDepositWithdrawResponse struct { Status string `json:"status"` Data []DepositWithdraw `json:"data"` }
type WithdrawQuota ¶
type WithdrawQuota struct { Currency string `json:"currency"` Chains []struct { Chain string `json:"chain"` MaxWithdrawAmt string `json:"maxWithdrawAmt"` WithdrawQuotaPerDay string `json:"withdrawQuotaPerDay"` RemainWithdrawQuotaPerDay string `json:"remainWithdrawQuotaPerDay"` WithdrawQuotaPerYear string `json:"withdrawQuotaPerYear"` RemainWithdrawQuotaPerYear string `json:"remainWithdrawQuotaPerYear"` WithdrawQuotaTotal string `json:"withdrawQuotaTotal"` RemainWithdrawQuotaTotal string `json:"remainWithdrawQuotaTotal"` } `json:"chains"` }
Click to show internal directories.
Click to hide internal directories.