safety_guardrail
Pre-sign safety verdict: one call decodes a pending transaction and checks sanctioned counterparties, unlimited-approval/drainer patterns, contract-vs-EOA, and whether it would revert — returning SAFE / CAUTION / DANGER with reasons. Send { chain, to, data, from?, value? }. The must-have guard every signing agent needs. [x402 paid tool — price $0.05; POST /api/safety/guardrail]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | 0x target address | |
| data | No | 0x calldata (default 0x) | |
| from | No | 0x sender (improves simulation) | |
| chain | No | Chain, default base | |
| value | No | Native value in wei |