Unofficial GO package for Simpleswap.io
Explore the docs »
·
Report Bug
·
Request Feature
- get_currency supports now.
p, err := platform.NewPlatform("xxxx-xxx-xxxx-xxxx-xxxx")
if err != nil {
fmt.Println(err)
}
currency := endpoints.NewCurrency()
result, err := currency.GetCurrencyInfo(p, "btc")
if err != nil {
log.Fatal(err, result)
}
fmt.Println(result)