{"uid":"cap_zyZ0mbu8URTW6eVK3kEaG","slug":"preflight-agent-solana-swap-execution-risk-check-67d96932","name":"Preflight Agent – Solana Swap Execution-Risk Check","description":"Preflight execution-risk check for a Solana swap quote or unsigned transaction","url":"https://preflight-agent.netlify.app/api/check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"quote":{"type":"object","description":"Optional submitted quote to compare against independent market pricing."},"trade":{"type":"object","description":"ExactIn trade request used for independent Jupiter Swap V2 verification."},"options":{"type":"object","description":"Optional strictness controls."},"transactionBase64":{"type":"string","description":"Optional Solana transaction to simulate before signing."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_U7FrRqNDdIz-CMP-5yQlz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a Solana swap quote or unsigned transaction for execution risk by simulating the transaction and independently verifying pricing via Jupiter Swap V2 before signing.","exampleAgentPrompt":"Before I sign this swap, run a preflight risk check on it — here's the unsigned transaction in base64 and the quote I was given, and compare it against independent Jupiter pricing to make sure the quote is fair and the transaction will actually go through.","exampleUseCases":[{"title":"Safe swap before large trade","prompt":"I'm about to execute a large SOL-to-USDC swap worth $10,000 — can you run a preflight check on this unsigned transaction and quote to make sure the price is fair and it won't fail or get sandwiched?"},{"title":"Bot detecting MEV sandwich risk","prompt":"My trading bot just got a swap quote from a DEX aggregator — before it signs anything, check this ExactIn trade request against Jupiter Swap V2 to verify the price is within a reasonable range and flag any execution risk."},{"title":"Wallet app pre-sign validation","prompt":"A user in my wallet app is about to confirm a token swap — run a simulation on this base64 unsigned transaction and tell me if it's likely to succeed and whether the quote matches current market rates."}],"resultDescription":"Returns an execution-risk report indicating whether the quoted price aligns with independent Jupiter market pricing, whether the simulated transaction is expected to succeed, and any risk flags such as price deviation, slippage abuse, or likely transaction failure.","failureModes":["Invalid or malformed base64 transaction string returns a parse error","Quote significantly deviates from market — returns risk flag with deviation details","Transaction simulation fails — returns failure reason from Solana RPC","Missing both quote and transactionBase64 — insufficient input to perform any check","Jupiter V2 API unavailable — independent price verification cannot be completed"],"whenToPreferThis":"Use this endpoint when an agent or wallet needs to validate a Solana swap quote or transaction before signing, especially to catch price manipulation, MEV sandwiching, excessive slippage, or transactions likely to fail. Prefer this over blindly trusting aggregator quotes when executing swaps of significant value or in automated trading pipelines where bad trades would be costly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:30:56.216Z","isFirstParty":false}