Decode calldata and compare with declared intent (free)
check_calldata_intentAnti blind-signing. Decodes what a transaction's calldata will actually do (ERC-20 transfer/approve/permit, setApprovalForAll, ownership transfer, native transfer) and compares it with what you believe you are doing. Pass intent:{action:'pay', to, amount} plus contract (the transaction's to) and data (hex calldata). decision match = does what you declared; mismatch = different recipient/amount, or an approval instead of a payment — do not sign; unknown = could not decode, which is not the same as safe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | 0x-prefixed hex calldata. | |
| value | No | Native value in wei (optional). | |
| intent | No | ||
| contract | No | The transaction's `to` field (token contract for ERC-20 payments, or the recipient for native transfers). |