Skip to main content

EIP712Onyze

eip712Object object
types object
Upgrade object[]
  • Array [
  • namestring
    typestring
  • ]
  • domain object
    namestring

    Name of the signing domain

    Example: BaseToken
    versionstring

    The current version of the signing domain

    Example: 1.0.0
    chainIdnumber

    Numeric identifier of the blockchain

    Example: 137
    verifyingContractstring

    Address of the contract on the blockchain that verifies the signature

    Example: 0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC
    value object
    signerstring

    Blockchain address of the account used to sign requests

    Example: 0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1
    newImplementationstring

    Address of the new contract implementation

    Example: 0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1
    noncenumber

    Unique number per request to prevent replay attacks

    Example: 1
    EIP712Onyze
    {
    "eip712Object": {
    "types": {
    "Upgrade": [
    {
    "name": "string",
    "type": "string"
    }
    ]
    },
    "domain": {
    "name": "BaseToken",
    "version": "1.0.0",
    "chainId": 137,
    "verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC"
    },
    "value": {
    "signer": "0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1",
    "newImplementation": "0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1",
    "nonce": 1
    }
    }
    }