Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider struct representing the ExchangeRate provider client. Used for currency pairs (e.g HBAR/ETH)
func NewProvider ¶
NewProvider creates new instance of the Exchange rate provider client
func (Provider) GetEthVsHbarRate ¶
GetEthVsHbarRate retrieves the current ETH/HBAR rate from the 3rd party API
Click to show internal directories.
Click to hide internal directories.