Symbol
get symbol of erc20 token
warning
It requires connected wallet.
func Symbol(contractAddress string) (string, error)
func main() {
// ... setup ...
symbol, err := w.ERC20().Symbol("<contractAddress>")
if err != nil {
panic(err)
}
fmt.Println(symbol)
}