{"slug":"api-pacta-wtf-v1-x402-calldata-sim-7c4023","title":"Pre-execution calldata check","host":"api.pacta.wtf","method":"POST","resource":"https://api.pacta.wtf/v1/x402/calldata-sim","category":"code","description":"Pre-execution calldata check: decodes the selector (unwrapping TimelockController schedule / execute (batch), Safe execTransaction and multicall), classifies each action (upgrade, role / ownership, Safe config, delay, pause, funds) and returns a deterministic risk verdict against the live delays of ","price_listed":0.25,"price_asked":0.25,"state":"answering","state_label":"Answering","checks_7d":2,"answered_7d":2,"latency_ms_median":169,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"chain":"ethereum","data":"0x64d623530000000000000000000000000000000000000000000000000000000000015180","target":"0x2225DAbFfC7F862c99477381E971E8B1FDaB467e"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"anyOf":[{"required":["address"]},{"required":["target"]}],"properties":{"address":{"description":"Alias of target; must equal target when both are given","pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"calldata":{"description":"Alias of data; must equal data when both are given","maxLength":3002,"pattern":"^0x([0-9a-fA-F]{2})*$","type":"string"},"chain":{"enum":["ethereum","base"],"type":"string"},"data":{"description":"Calldata to check (default 0x8da5cb5b, owner(), when neither data nor calldata is given)","maxLength":3002,"pattern":"^0x([0-9a-fA-F]{2})*$","type":"string"},"target":{"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"timelock":{"description":"Optional TimelockController the call is routed through (lowers a rating only when live reads prove it is the authority for that action: the ProxyAdmin owner / admin for upgrades, owner() for UUPS upgrades and for role / pause / config changes)","pattern":"^0x[0-9a-fA-F]{40}$","type":"string"}},"required":["chain"],"type":"object"},"bodyType":{"const":"json"},"method":{"const":"POST"},"type":{"const":"http"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"actions":{"type":"array"},"block":{"properties":{"hash":{"type":"string"},"number":{"type":"integer"},"timestamp":{"type":"integer"}},"required":["number","hash","timestamp"],"type":"object"},"chain":{"type":"string"},"limits":{"type":"array"},"liveTargets":{"type":"object"},"receipt":{"type":"object"},"schema":{"const":"pacta.calldata_sim.v1"},"target":{"type":"string"},"timelock":{"type":["object","null"]},"verdict":{"properties":{"block":{"type":"boolean"},"level":{"enum":["low","medium","high","critical"],"type":"string"},"mutations":{"type":"object"},"reasons":{"type":"array"}},"type":"object"}},"required":["schema","chain","block","target","actions","verdict"],"type":"object"},"type":{"const":"json"}},"required":["type","example"],"type":"object"}},"required":["input","output"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.25,"price_match":true,"latency_ms":34,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.25,"price_match":true,"latency_ms":304,"error":null}],"description_full":"Pre-execution calldata check: decodes the selector (unwrapping TimelockController schedule / execute (batch), Safe execTransaction and multicall), classifies each action (upgrade, role / ownership, Safe config, delay, pause, funds) and returns a deterministic risk verdict against the live delays of the targets.","last_updated":"2026-11-26T14:10:59.486Z","schemes":["exact"]}