Should I sign this? Plain-words check of a Base transaction or signature request, with red flags
tx_preflightPre-signing check for Base. Send a transaction (to, data, value, from) or a typed-data signature request and get what it does in plain words plus red flags: unlimited or wallet-targeted approvals, NFT approve-all, off-chain permits, sends to a token's own contract or the dead address, OFAC or scam-listed counterparties, risky tokens, and calls that would fail (simulated from your wallet). Verdict ok, caution, danger or block. Not charged for invalid input. Paid via x402; see list_prices.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tx_preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Transaction destination 0x address (a contract or wallet). Omit when sending typedData. | |
| data | No | Optional: transaction calldata, 0x hex. | |
| from | No | Optional: the signing wallet 0x address. Lets the check simulate the call and compare balances. | |
| value | No | Optional: ETH to send, in wei (decimal or 0x hex). Default 0. | |
| typedData | No | Alternative to a transaction: the EIP-712 signature request (domain, primaryType, message) a site asks you to sign, as an object or JSON string. |