Skip to main content

DomainSeparator

ref: Wallet-StableCoin-Permit

Return the EIP-712 domain separator for the StableCoin contract.

func DomainSeparator(
contractAddress string,
) ([32]byte, error)
func main() {
...
alchemy := gas.NewAlchemy(setting)
...
domainSeparator, err := alchemy.StableCoin.DomainSeparator(contractAddress)
}