package
1.3.4
Repository: https://github.com/varunram/essentials.git
Documentation: pkg.go.dev

# Functions

BinanceTicker gets price data from Binance.
BinanceVolume gets volume data from Binance.
CoinbaseTicker gets ticker data from coinbase.
CoinbaseVolume gets volume data from coinbase.
ExchangeXLMforUSD retrieves the current price of XLM/USD and then returns the USD amount.
KrakenTicker gets ticker data from kraken.
KrakenVolume gets volume data from kraken.
XLMUSD returns aggregated XLMUSD ticker data.

# Variables

BinanceReq is the binance ticker from the API.
BinanceVol is the binance ticker from the API.
CoinbaseReq is the coinbase ticker from the API.
KrakenReq is the kraken ticker from the API.

# Structs

BinanceTickerResponse defines the ticker API response from Binanace.
BinanceVolumeResponse defines the structure of binance's volume endpoint response.
CoinbaseTickerResponse defines the structure of coinbase's ticker endpoitt response.
KrakenTickerResponse defines the structure of kraken's ticker response.