{"uid":"cap_ZYigAVeJJXmb66YKdj4oa","slug":"payai-evm-transaction-pre-sign-safety-check-cdce560c","name":"PayAI EVM Transaction Pre-Sign Safety Check","description":"Pre-sign safety verdict for a raw EVM transaction. Decodes the calldata against a known-signature registry, shows known-pattern effects (approval delta, transfer target), dry-runs eth_call for revert, checks scam-blocklist and approval-hygiene, and returns allow, warn or block plus a 0-100 risk. Risk indicators, not advice.","url":"https://payai.agentstools.dev/tx/raw","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","description":"Destination contract address"},"data":{"type":"string","description":"0x-prefixed calldata hex"},"from":{"type":"string","description":"Optional sender address (enables allowance delta)"},"value":{"type":"string","description":"Optional native value in wei"},"network":{"enum":["base","ethereum","arbitrum","optimism","polygon","bnb"],"type":"string","description":"EVM network the transaction is for (default base)"},"simulate":{"type":"boolean","description":"Dry-run eth_call for revert (default true)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M6oxOdxQH69FkAxFn5rR_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a raw EVM transaction before signing — decoding calldata, checking scam blocklists, simulating reverts, and returning an allow/warn/block verdict with a 0-100 risk score.","exampleAgentPrompt":"Before I sign this transaction, can you run a safety check on it? It's going to contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base with calldata 0x095ea7b3...ffffffff — let me know if it's safe, warn me of any suspicious approvals, and give me a risk score.","exampleUseCases":[{"title":"DeFi approval scam detection","prompt":"I'm about to approve a token spend on this DeFi site — can you check the raw calldata 0x095ea7b3000000000000000000000000deadbeef...ffffffff going to 0xdAC17F958D2ee523a2206206994597C13D831ec7 on Ethereum and tell me if this approval looks suspicious or if the spender is on any scam lists?"},{"title":"Pre-sign revert simulation","prompt":"Can you dry-run this transaction for me before I send it? It's from 0xMyWallet going to 0xContractAddress on Arbitrum with calldata 0xa9059cbb... and value 0 — I want to know if it'll revert and whether it's flagged as risky."},{"title":"Wallet agent transaction guardrail","prompt":"My agent is about to submit a transaction on Polygon — destination 0x1234abcd, calldata 0x38ed1739..., sent from 0xMyAgent — run a pre-sign safety check and block it if the risk score is above 50 or it's flagged as a block verdict."}],"resultDescription":"Returns a safety verdict of 'allow', 'warn', or 'block', a numeric risk score from 0 to 100, decoded calldata effects (approval delta, transfer target), a dry-run revert status, and scam blocklist and approval hygiene findings. All outputs are risk indicators, not financial advice.","failureModes":["Unknown or undecodable calldata may result in limited analysis with incomplete effect fields","Invalid or malformed contract address returns an error","Unsupported network enum value returns a validation error","Simulation (eth_call) may fail if the sender address is not provided or the node is unavailable","Scam blocklist may not cover newly deployed malicious contracts"],"whenToPreferThis":"Use this endpoint when an AI agent or wallet needs to gate-check any raw EVM transaction before signing — especially for token approvals, transfers, or contract interactions on supported chains. Prefer this over generic RPC calls when you need a structured allow/warn/block verdict, decoded calldata semantics, and scam blocklist coverage in a single call without building your own transaction analysis pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:55:31.104Z","isFirstParty":false}