Documentation ¶
Index ¶
Constants ¶
View Source
const (
EthereumCoinID = "ethereum"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoinGecko ¶ added in v0.2.7
type CoinGecko struct {
// contains filtered or unexported fields
}
CoinGecko wraps the client to retrieve information from their API.
func NewCoingecko ¶ added in v0.2.7
NewCoingecko grabs the symbol, given a contract address.
type CoinInfo ¶ added in v0.2.7
CoinInfo wraps the coin information received from a contract address.
Ref : https://api.coingecko.com/api/v3/coins/ethereum/contract/${CONTRACT_ADDR}
Click to show internal directories.
Click to hide internal directories.