{"slug":"kushbitx-com-api-transaction-preflight-580557","title":"Simulate one unsigned Base transaction before an agent signs it","host":"kushbitx.com","method":"POST","resource":"https://kushbitx.com/api/transaction-preflight","category":"company","description":"Simulate one unsigned Base transaction before an agent signs it. Runs eth_call and gas estimation on current chain state, decodes the intent (ERC-20 transfer, approve, NFT setApprovalForAll), flags unlimited approvals, calldata sent to a non-contract, zero-address targets, reverts and destination ri","price_listed":0.001,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"chain":"base","data":"0xa9059cbb000000000000000000000000d2db751a2fdba554706fb535438d81d3a0b4297900000000000000000000000000000000000000000000000000000000000003e8","from":"0x0d68028d06af13379C872FEE032568B4Be712f22","to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","valueWei":"0"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"input":{"properties":{"body":{"additionalProperties":false,"properties":{"chain":{"enum":["base"],"type":"string"},"data":{"description":"Unsigned calldata.","pattern":"^0x([a-fA-F0-9]{2})*$","type":"string"},"from":{"description":"Optional sender used for simulation.","pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"to":{"description":"Transaction destination.","pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"valueWei":{"description":"Native ETH value in wei.","pattern":"^[0-9]+$","type":"string"}},"required":["chain","to"],"type":"object"},"bodyType":{"enum":["json"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"enum":["http"],"type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"chain":{"const":"base","type":"string"},"destination":{"properties":{"address":{"pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"balanceWei":{"type":["string","null"]},"bytecodeBytes":{"type":"integer"},"externalRiskCheckAvailable":{"type":"boolean"},"externalRiskSignals":{"items":{"type":"string"},"type":"array"},"type":{"type":"string"}},"type":"object"},"findings":{"items":{"properties":{"category":{"type":"string"},"code":{"type":"string"},"points":{"type":"number"},"reason":{"type":"string"},"severity":{"enum":["critical","high","medium","low","info"],"type":"string"}},"required":["code","severity","reason"],"type":"object"},"type":"array"},"generatedAt":{"format":"date-time","type":"string"},"intent":{"properties":{"amountAtomic":{"type":"string"},"approved":{"type":"boolean"},"operator":{"pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"selector":{"type":"string"},"spender":{"pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"type":{"enum":["native_transfer","contract_call","erc20_approve","nft_set_approval_for_all","erc20_transfer","erc20_transfer_from"],"type":"string"},"unlimitedApproval":{"type":"boolean"}},"required":["selector","type"],"type":"object"},"limitations":{"items":{"type":"string"},"type":"array"},"receipt":{"description":"Added by the paid endpoint: saved report ID, amount, network and settlement transaction.","properties":{"amountUsdc":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"network":{"const":"base","type":"string"},"reportId":{"type":"string"},"service":{"type":"string"},"transaction":{"type":["string","null"]}},"type":"object"},"reportVersion":{"type":"string"},"simulation":{"properties":{"attempted":{"type":"boolean"},"callError":{"type":["string","null"]},"gasError":{"type":["string","null"]},"gasEstimate":{"type":["string","null"]},"returnData":{"type":["string","null"]},"success":{"type":["boolean","null"]}},"type":"object"},"sources":{"items":{"type":"object"},"type":"array"},"transaction":{"properties":{"data":{"type":"string"},"from":{"pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"to":{"pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"valueWei":{"type":"string"}},"type":"object"},"verdict":{"properties":{"confidence":{"type":"string"},"decision":{"enum":["ALLOW","WARN","BLOCK","INCOMPLETE"],"type":"string"},"score":{"type":"number"},"summary":{"type":"string"}},"required":["decision","summary"],"type":"object"}},"required":["reportVersion","generatedAt","chain","verdict","transaction","intent","destination","simulation","findings"],"type":"object"},"type":{"enum":["json"],"type":"string"}},"required":["type","example"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Simulate one unsigned Base transaction before an agent signs it. Runs eth_call and gas estimation on current chain state, decodes the intent (ERC-20 transfer, approve, NFT setApprovalForAll), flags unlimited approvals, calldata sent to a non-contract, zero-address targets, reverts and destination risk labels such as phishing or sanctions. Returns ALLOW, WARN, BLOCK or INCOMPLETE with findings. No key or signed transaction is requested.","last_updated":"2026-10-25T13:51:37.732Z","schemes":["exact"]}