Documentation ¶
Index ¶
Constants ¶
View Source
const (
RestURL = "https://api.gateio.ws"
)
View Source
const (
WalletDepositsrecords = "/api/v4/wallet/deposits"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type GateRest ¶
type GateRest struct {
// contains filtered or unexported fields
}
func New ¶
func New(config *Configuration) *GateRest
func (*GateRest) GetBalance ¶
func (ex *GateRest) GetBalance() interface{}
type WalletDeposits ¶
type WalletDeposits []struct { ID string `json:"id"` Timestamp string `json:"timestamp"` Currency string `json:"currency"` Address string `json:"address"` Txid string `json:"txid"` Amount string `json:"amount"` Memo string `json:"memo"` Status string `json:"status"` Chain string `json:"chain"` }
https://www.gate.io/docs/developers/apiv4/#retrieve-deposit-records
func GateToWalletBalance ¶
func GateToWalletBalance(data interface{}) WalletDeposits
Click to show internal directories.
Click to hide internal directories.