Skip to main content

Currency

ref: Wallet-StableCoin-Currency

Get the currency identifier of the token (e.g. "USD"). FiatToken/USDC compatibility.

func Currency(
contractAddress string,
) (string, error)
func main() {
...
alchemy := gas.NewAlchemy(setting)
...
currency, err := w.StableCoin().Currency(contractAddress)
}