validate_eip712_permit
Validate EIP-2612 permits by checking owner, spender, value, nonce, and deadline are well-formed and the deadline is not before a provided timestamp. Returns is_valid and violations.
Instructions
Validate an EIP-2612 permit: owner/spender/value/nonce/deadline must be present and well-formed, and deadline must not be before the caller-supplied now_timestamp. Returns is_valid and any violations.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"permit": "<permit>",
"now_timestamp": "<now_timestamp>"
},
"name": "validate_eip712_permit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| permit | Yes | An EIP-2612 permit: owner, spender, value, nonce, deadline. | |
| now_timestamp | Yes | Current time to evaluate deadline, epoch secs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||