{"uid":"cap_mp2ECtpnZp9V4whnTpmEv","slug":"dopaminedesk-transaction-preflight-security-check-3edfa7f8","name":"DopamineDesk Transaction Preflight Security Check","description":"Run a transaction simulation and EVM safety preflight with gas, destination proxy evidence, and optional token security and allowance checks in one decision-ready report.","url":"https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/transaction_preflight","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["to"],"properties":{"to":{"type":"string","description":"Destination contract or wallet address."},"data":{"type":"string","description":"Hex calldata; defaults to 0x."},"from":{"type":"string","description":"Optional sender address for simulation."},"chain":{"type":"string","description":"base, ethereum, or arbitrum; defaults to base."},"value":{"type":"string","description":"Hex native-token value; defaults to 0x0."},"spender":{"type":"string","description":"Optional spender for allowance evidence when from and token_contract are supplied."},"token_contract":{"type":"string","description":"Optional token contract for GoPlus security evidence."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["success","broadcast","decision","checks_completed"],"properties":{"success":{"type":"boolean"},"decision":{"type":"string"},"broadcast":{"type":"boolean"},"checks_completed":{"type":"integer"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"success":true,"decision":"no_obvious_issue_detected","broadcast":false,"checks_completed":3}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NKYjD_KDhADU4U7NKZRIe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Simulates and security-screens an EVM transaction before broadcast, returning a safety decision and evidence from multiple on-chain checks.","exampleAgentPrompt":"Before I sign this transaction, run a preflight security check on it — the destination is 0xAbC123... on Base, the calldata is 0xa9059cbb..., and the token contract is 0xDef456... — tell me if there are any obvious issues I should know about.","exampleUseCases":[{"title":"Token approval safety screen","prompt":"I'm about to approve a new DeFi protocol at 0x1234abcd... to spend my USDC token at 0xA0b86991... on Base — can you run a preflight security check to see if the spender contract looks safe before I sign?"},{"title":"Suspicious calldata detection","prompt":"Someone sent me a transaction to sign: destination 0xDeadBeef... on Ethereum, calldata 0x23b872dd... — can you simulate it and check if there's anything malicious going on before I approve it?"},{"title":"Pre-broadcast DeFi trade validation","prompt":"I want to swap tokens on a new DEX at 0x9876fedc... on Arbitrum — the calldata is 0x38ed1739... and I'm sending from 0xMyWallet... — please preflight check this and tell me if the security checks pass before I broadcast."}],"resultDescription":"Returns a JSON object with a boolean success flag, a safety decision string (e.g. 'no_obvious_issue_detected'), a broadcast recommendation flag, and the count of security checks completed against the transaction.","failureModes":["Invalid or malformed hex calldata returns an error","Unsupported chain identifier causes rejection","Unresolvable contract address yields incomplete evidence","GoPlus security service unavailability may reduce checks_completed count","Missing required 'to' field causes validation failure"],"whenToPreferThis":"Use this endpoint when an AI agent needs to screen an EVM transaction for security risks before signing or broadcasting — especially useful for token approvals, DeFi interactions, and interactions with unknown contracts. Prefer over manual review when operating autonomously on behalf of users on Base, Ethereum, or Arbitrum, and when a lightweight per-call USDC fee ($0.012) is acceptable in exchange for automated multi-source security evidence.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:48:57.536Z","isFirstParty":false}