Skip to main content

SetMerkleRootEip712TypedData

types objectrequired
EIP712Domain object[]required
  • Array [
  • namestringrequired
    typestringrequired
  • ]
  • SetMerkleRoot object[]required
  • Array [
  • namestringrequired
    typestringrequired
  • ]
  • primaryTypestringrequired

    Possible values: [SetMerkleRoot]

    domain objectrequired
    namestringrequired

    Name of the signing domain

    Example: BaseToken
    versionstringrequired

    The current version of the signing domain

    Example: 1.0.0
    chainIdnumberrequired

    Numeric identifier of the blockchain

    Example: 137
    verifyingContractstringrequired

    Address of the contract on the blockchain that verifies the signature

    Possible values: Value must match regular expression ^0x[0-9a-fA-F]{40}$

    Example: 0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC
    message objectrequired
    merkleRootstringrequired

    Merkle root of the Merkle tree generated from the list of investors

    SetMerkleRootEip712TypedData
    {
    "types": {
    "EIP712Domain": [
    {
    "name": "string",
    "type": "string"
    }
    ],
    "SetMerkleRoot": [
    {
    "name": "string",
    "type": "string"
    }
    ]
    },
    "primaryType": "SetMerkleRoot",
    "domain": {
    "name": "BaseToken",
    "version": "1.0.0",
    "chainId": 137,
    "verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC"
    },
    "message": {
    "merkleRoot": "string"
    }
    }