Skip to main content

MinterAllowance

ref: Wallet-StableCoin-MinterAllowance

Return the remaining mint allowance for a minter on a StableCoin contract (FiatToken/USDC compatibility).

func MinterAllowance(
contractAddress,
address string,
) (*big.Int, error)
func main() {
...
alchemy := gas.NewAlchemy(setting)
...
allowance, err := alchemy.StableCoin.MinterAllowance(contractAddress, address)
}