Skip to main content

MerkleMintEip712TypedData

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

    Possible values: [BatchMint]

    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
    signerstringrequired

    Blockchain address of the account used to sign requests

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

    tostring[]required
    amountstring[]required
    noncenumberrequired

    Unique number per request to prevent replay attacks

    MerkleMintEip712TypedData
    {
    "types": {
    "EIP712Domain": [
    {
    "name": "string",
    "type": "string"
    }
    ],
    "BatchMint": [
    {
    "name": "string",
    "type": "string"
    }
    ]
    },
    "primaryType": "BatchMint",
    "domain": {
    "name": "BaseToken",
    "version": "1.0.0",
    "chainId": 137,
    "verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC"
    },
    "message": {
    "signer": "string",
    "to": [
    "string"
    ],
    "amount": [
    "string"
    ],
    "nonce": 0
    }
    }