{"uid":"cap_vXSN02u2RPF0hrQ00RcVH","slug":"rugshield-swap-simulation-proof-d5632d80","name":"RugShield Swap Simulation Proof","description":"Executes state-override simulation of $1k, $10k, and $50k swap orders on Base Mainnet, calculating exact slippage, gas overhead, and MEV frontrun exposure.","url":"https://rugshield-402.onrender.com/v1/audit/swap-simulation-proof?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"amount_usd":{"type":"integer"},"token_address":{"type":"string","description":"token address"}}},"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_LuDPOtWhEqeZfQ6tSdvO2","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":"Simulates $1k, $10k, and $50k swap orders on Base Mainnet via state-override to calculate exact slippage, gas overhead, and MEV frontrun exposure for a given token pair.","exampleAgentPrompt":"Simulate buying $1k, $10k, and $50k worth of this token on Base Mainnet and tell me the exact slippage, gas costs, and how exposed I am to MEV frontrunning — I want the full swap simulation proof before I ape in.","exampleUseCases":[{"title":"Pre-trade MEV exposure check","prompt":"Before I buy $50k of this new Base token, can you run a swap simulation to show me exactly how much slippage I'd get and whether MEV bots could sandwich my trade?"},{"title":"Comparing swap safety across order sizes","prompt":"Run swap simulations for $1k, $10k, and $50k orders on this Base token and show me how slippage and gas costs scale — I want to know if bigger buys are getting hit harder."},{"title":"DeFi bot pre-execution validation","prompt":"Before my trading bot executes this $10k swap on Base, run a state-override simulation to confirm the slippage is under 3% and MEV frontrun exposure is low — give me the proof."}],"resultDescription":"Returns a cryptographic simulation proof with exact slippage percentages, gas overhead figures, and MEV frontrun exposure metrics for $1k, $10k, and $50k swap orders simulated via state-overrides on Base Mainnet, without executing any real on-chain transaction.","failureModes":["Invalid or unsupported token contract address returns an error","RPC state-override failure if Base Mainnet node is unavailable","Malformed POST body or missing required fields returns validation error","Token with no liquidity pool may produce no simulation result","Payment of $0.02 USDC not processed results in 402 rejection"],"whenToPreferThis":"Choose this endpoint when you need precise, cryptographically-provable swap simulation data on Base Mainnet across three order sizes simultaneously — particularly when MEV frontrun exposure and exact gas overhead are needed before executing a real trade. Prefer this over generic slippage estimators when you need state-override accuracy rather than approximations, or when auditing a token's tradability for large orders.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T18:41:04.283Z","isFirstParty":false,"canonicalSlug":"rugshield-swap-simulation-proof-d5632d80"}