Eip712PermitWithSpenderTypedData
domain object
namestring
Name of the signing domain
Example:
EUROe
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 object
EIP712Domain object[]
Array [
namestring
typestring
]
Permit object[]
Array [
ownerstring
valuestring
spenderstring
]
primaryTypestring
Example:
Permit
message object
ownerstring
Address of the account that owns the tokens
Example:
0x123456A9571241e97cDb61E3FfD1937D885454dd
valuestring
Amount of tokens allowed to be transferred to the Exchange
Example:
1000000
spenderstring
Address of the contract allowed to spend the tokens
Example:
0x0290FB167208Af455bB137780163b7B7a9a10C16
Eip712PermitWithSpenderTypedData
{
"domain": {
"name": "EUROe",
"version": "1.0.0",
"chainId": 137,
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC"
},
"types": {
"EIP712Domain": [
{
"name": "string",
"type": "string"
}
],
"Permit": [
{
"owner": "string",
"value": "string",
"spender": "string"
}
]
},
"primaryType": "Permit",
"message": {
"owner": "0x123456A9571241e97cDb61E3FfD1937D885454dd",
"value": "1000000",
"spender": "0x0290FB167208Af455bB137780163b7B7a9a10C16"
}
}