Skip to main content

IsBlacklisted

ref: Wallet-StableCoin-IsBlacklisted

Check whether an address is blacklisted on the StableCoin contract (FiatToken/USDC compatibility).

func IsBlacklisted(
contractAddress,
address string,
) (bool, error)
func main() {
...
alchemy := gas.NewAlchemy(setting)
...
isBlacklisted, err := alchemy.StableCoin.IsBlacklisted(contractAddress, address)
}