{"uid":"cap_U3j_NRc29rDWmRxtiC7yx","slug":"freysa-intelligence-transaction-simulator-801f59d5","name":"Freysa Intelligence Transaction Simulator","description":"Security intelligence layer for autonomous agents. On-chain security, token risk analysis, wallet forensics, and transaction simulation. Pay-per-call via x402 on Base.","url":"https://economic-agent-369.freysa.dev/api/transaction-simulator","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":"string","default":"base","description":"Blockchain"},"tx_data":{"type":"string","description":"Calldata"},"to_address":{"type":"string","description":"Destination"}}},"responseSchema":{"type":"object","example":{"transaction_simulator":{"risk":"medium","tokens_spent":"1 ETH","tokens_received":"5000 XYZ"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mE3VNuo1Y0JusHk0IvRsv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Simulates an EVM transaction to assess risk, estimated token flows, and safety before execution","exampleAgentPrompt":"Before I approve this transaction, can you simulate it and tell me the risk level — I'm swapping 1 ETH for XYZ tokens and want to know how many tokens I'd receive and whether it looks safe?","exampleUseCases":[{"title":"Pre-approval DeFi swap risk check","prompt":"I'm about to swap 1 ETH for some XYZ tokens on Base — can you simulate the transaction and tell me the risk level and how many tokens I'd actually receive before I sign anything?"},{"title":"Scam token purchase detection","prompt":"Someone just sent me a link to buy this new token. Before I do anything, can you simulate the purchase transaction and flag any signs it might be a rug pull or high-risk trade?"},{"title":"Agent autonomous transaction gating","prompt":"My trading agent is about to submit a transaction — run it through the transaction simulator first and only proceed if the risk comes back as low."}],"resultDescription":"Returns a simulation result object containing a risk level (e.g. low/medium/high), the amount of tokens spent, and the tokens expected to be received from the transaction, along with any flagged concerns about the trade or contract interaction.","failureModes":["Malformed transaction schema returns validation error","Unsupported chain or contract type may yield incomplete simulation","Network congestion or RPC errors may cause timeouts","Insufficient USDC balance for x402 payment prevents call","Novel or unverified contracts may produce uncertain risk assessments"],"whenToPreferThis":"Use this endpoint when an autonomous agent or user needs to preview and risk-assess an EVM transaction before committing it on-chain — especially for token swaps, DeFi interactions, or any contract call involving unknown tokens. Prefer this over generic blockchain RPC calls when you need a human-readable risk verdict and token flow estimate, not just raw simulation data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:41:01.948Z","isFirstParty":false}