Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommonChainIDToNetwork ¶
func NetworkToCommonChainID ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) FetchCurrencies ¶
func (c *Client) FetchCurrencies(ctx context.Context) ([]CryptoCurrency, error)
type Config ¶
type Config struct {
CryptoCurrencies []CryptoCurrency `json:"crypto_currencies"`
}
type CryptoCurrency ¶
type CurrenciesData ¶
type CurrenciesData struct {
Config Config `json:"config"`
}
type CurrenciesResponse ¶
type CurrenciesResponse struct { Data CurrenciesData `json:"data"` Status int `json:"status"` }
Click to show internal directories.
Click to hide internal directories.