Go API

EIP712 Package

Provides types and structures for EIP-712 signing

The EIP-712 is a standard for typed structured data hashing and signing in Ethereum, which is widely used for secure and human-readable transaction signing. The package provides the necessary types and structures for EIP-712 signing.

Domain

Represents the domain parameters used for EIP-712 signing.

type Domain struct {
    Name              string          `json:"name"`    // Name of the domain.
    Version           string          `json:"version"` // Version of the domain.
    ChainId           *big.Int        `json:"chainId"` // Chain ID associated with the domain.
    VerifyingContract *common.Address `json:"verifyingContract"` // Address of the verifying contract for the domain.
}

Made with ❤️ by the ZKsync Community