coingecko

package
v0.0.0-...-f03262a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var COIN_GECKO_MAPPING = map[string]string{
	"bitcoin":                    "BTC",
	"ethereum":                   "ETH",
	"binancecoin":                "BNB",
	"tether":                     "USDT",
	"usd-coin":                   "USDC",
	"binance-usd":                "BUSD",
	"dai":                        "DAI",
	"okb":                        "OKB",
	"solana":                     "SOL",
	"cosmos":                     "ATOM",
	"terra-luna-2":               "LUNA",
	"terra-luna":                 "LUNC",
	"terrausd":                   "USTC",
	"injective-protocol":         "INJ",
	"eris-amplified-whale":       "AMPWHALE",
	"backbone-labs-staked-whale": "BWHALE",
	"secret":                     "SCRT",
	"juno-network":               "JUNO",
	"stargaze":                   "STARS",
	"akash-network":              "AKT",
	"lion-dao":                   "ROAR",
	"white-whale":                "WHALE",
	"switcheo":                   "SWTH",
	"stride-staked-luna":         "STLUNA",
	"stafi-staked-swth":          "rSWTH",
	"osmosis":                    "OSMO",
}

symbol to base coin mapping

Functions

func ParseSymbol

func ParseSymbol(symbol string) (string, string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL