Signature Check
signature_checkCheck an EIP-712 signature request before an agent signs it: EIP-3009 (x402 payments), EIP-2612 Permit and Permit2. Checks the chain, the token domain, payTo and amount, the spender, unlimited amounts and long validity. Returns ALLOW, REVIEW or BLOCK bound to the EIP-712 digest. Unknown typed data is REVIEW. Paid tool: 0.003 USDC per call on Base via x402 (exact scheme). An unpaid call returns the payment requirement and charges nothing. Sign only if verdict is ALLOW, before expiresAt, for the same signer, and the typed data you sign is exactly the one you sent (same typedDataDigest, chainId 8453 in the request and in typedData.domain). In code: canSignTypedData(report, { chainId, signer, typedData }) from @kushbitx/sdk.
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": {
"chainId": "<chainId>",
"signer": "<signer>",
"typedData": "<typedData>"
},
"name": "signature_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signer | Yes | ||
| chainId | Yes | ||
| typedData | Yes | The exact EIP-712 object the agent is asked to sign: domain, types, primaryType, message. | |
| expectedPayTo | No | EIP-3009: who must be paid. | |
| expectedAmount | No | EIP-3009: the exact amount in atomic units. | |
| expectedSpender | No | Permit and Permit2: who may spend. |