Skip to main content

Eip712BurnBatchERC1155TypedData

primaryTypestringrequired

Possible values: [BurnBatchData]

domain objectrequired
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
types objectrequired
EIP712Domain object[]
  • Array [
  • namestring
    typestring
  • ]
  • BurnBatchData object[]
  • Array [
  • namestring
    typestring
  • ]
  • message objectrequired
    fromstring

    Address of the wallet from which tokens will be burned

    Example: 0x1234567890123456789012345678901234567890
    nftIdsstring[]

    List of NFT IDs to burn

    Example: ["9","10","11"]
    amountsstring[]

    List of amounts to burn for each NFT ID

    Example: ["1000","500","200"]
    noncestring

    Unique nonce to prevent replay attacks

    Example: 1
    deadlinestring

    Deadline timestamp for the signature

    Example: 1706601600
    Eip712BurnBatchERC1155TypedData
    {
    "primaryType": "BurnBatchData",
    "domain": {
    "name": "BaseToken",
    "version": "1.0.0",
    "chainId": 137,
    "verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC"
    },
    "types": {
    "EIP712Domain": [
    {
    "name": "string",
    "type": "string"
    }
    ],
    "BurnBatchData": [
    {
    "name": "string",
    "type": "string"
    }
    ]
    },
    "message": {
    "from": "0x1234567890123456789012345678901234567890",
    "nftIds": [
    "9",
    "10",
    "11"
    ],
    "amounts": [
    "1000",
    "500",
    "200"
    ],
    "nonce": "1",
    "deadline": "1706601600"
    }
    }