{"uid":"cap_WJniKuoQakfAWGtbvJdiU","slug":"machinemint-base-transaction-preflight-approval-risk-checker-17b75607","name":"MachineMint Base Transaction Preflight & Approval Risk Checker","description":"Check an unsigned Base mainnet transaction before signing or broadcasting. Simulates with eth_call, estimates gas, checks sender balance and target bytecode, decodes supported token transfers and approvals, flags unlimited approvals and other suspicious transaction shapes, and returns deterministic PASS/REVIEW/FAIL. Never signs or broadcasts. Paid machine endpoint: 0.01 USDC-equivalent per call via x402 on Base.","url":"https://machinemint-api-production.up.railway.app/x402/base-preflight","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"object"},"status":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2uckP_9VVp73VZ6mfKYin","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Simulates and risk-scores an unsigned Base mainnet transaction before signing, flagging gas issues, balance problems, unlimited token approvals, and suspicious patterns with a deterministic PASS/REVIEW/FAIL verdict.","exampleAgentPrompt":"Before I sign this transaction, run a preflight check on it — simulate it on Base mainnet, estimate the gas, confirm my wallet balance covers it, and flag anything suspicious like unlimited token approvals or weird contract interactions.","exampleUseCases":[{"title":"DeFi approval safety check","prompt":"I'm about to approve a DeFi protocol to spend my USDC on Base — can you check this unsigned approval transaction and tell me if it's unlimited or risky before I sign anything?"},{"title":"Pre-signing gas and balance verification","prompt":"I have an unsigned Base mainnet transaction here — simulate it, estimate the gas cost, and check whether my wallet actually has enough ETH to cover it before I broadcast."},{"title":"Suspicious contract interaction review","prompt":"Someone sent me a transaction to sign on Base and I'm not sure what it does — can you decode the calldata, check the target contract bytecode, and give me a PASS, REVIEW, or FAIL on whether it looks legitimate?"}],"resultDescription":"Returns a deterministic verdict of PASS, REVIEW, or FAIL along with: simulated execution result via eth_call, gas estimate, sender balance check, target address bytecode presence check, decoded token transfer or approval details (if applicable), and specific flags for unlimited approvals or other suspicious transaction shapes.","failureModes":["Invalid or malformed transaction payload returns an error","Sender address not found or zero balance may trigger FAIL verdict","Unsupported token standards may not be decoded but simulation still runs","Network connectivity issues to Base RPC may cause timeout","Missing required fields in the request body returns a validation error","Ambiguous or complex contract interactions may return REVIEW with limited decoding"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, read-only pre-signing risk assessment for Base mainnet transactions — especially when checking for unlimited ERC-20 approvals, validating gas and balance before broadcasting, or screening untrusted transaction payloads. Prefer this over generic RPC calls because it bundles simulation, balance check, bytecode check, approval decoding, and risk scoring into a single deterministic verdict without ever signing or broadcasting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:37:38.600Z","isFirstParty":false}