Skip to main content

Eip712BurnERC1155TypedData

primaryTypestringrequired

Possible values: [BurnData]

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
  • ]
  • BurnData object[]
  • Array [
  • namestring
    typestring
  • ]
  • message objectrequired
    fromstring

    Address of the wallet from which tokens will be burned

    Example: 0x1234567890123456789012345678901234567890
    nftIdstring

    NFT ID

    Example: 9
    amountstring

    Amount of tokens to burn

    Example: 1000
    noncestring

    Unique nonce to prevent replay attacks

    Example: 1
    deadlinestring

    Deadline timestamp for the signature

    Example: 1706601600
    Eip712BurnERC1155TypedData
    {
    "primaryType": "BurnData",
    "domain": {
    "name": "BaseToken",
    "version": "1.0.0",
    "chainId": 137,
    "verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC"
    },
    "types": {
    "EIP712Domain": [
    {
    "name": "string",
    "type": "string"
    }
    ],
    "BurnData": [
    {
    "name": "string",
    "type": "string"
    }
    ]
    },
    "message": {
    "from": "0x1234567890123456789012345678901234567890",
    "nftId": "9",
    "amount": "1000",
    "nonce": "1",
    "deadline": "1706601600"
    }
    }