Skip to main content

BalanceOf

ref: Wallet-StableCoin-BalanceOf

Get StableCoin token balance of the provided walletAddress.

func BalanceOf(
contractAddress,
walletAddress string,
) (balance *big.Int, err error)
func main() {
...
alchemy := gas.NewAlchemy(setting)
...
balance, err := alchemy.StableCoin.BalanceOf(contractAddress, walletAddress)
}