{"uid":"cap_q6StPvLaNun_F1IBgdzyk","slug":"brainiac-crypto-transaction-intent-verifier-d72dcdf4","name":"BRAINIAC Crypto Transaction Intent Verifier","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/crypto-security/transaction-intent-verify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"abi":{"type":"array","items":{"type":"object","required":["type"],"properties":{"name":{"type":"string","maxLength":80},"type":{"enum":["function","constructor","receive","fallback","event","error"],"type":"string"},"inputs":{"type":"array","items":{},"maxItems":32},"outputs":{"type":"array","items":{},"maxItems":32},"anonymous":{"type":"boolean"},"stateMutability":{"enum":["pure","view","nonpayable","payable"],"type":"string"}},"additionalProperties":false},"maxItems":48},"value":{"type":"string"},"chainId":{"type":"integer","maximum":2147483647,"exclusiveMinimum":0},"calldata":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2})*$","maxLength":131074},"expected":{"type":"object","properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"amount":{"type":"string"},"spender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"contract":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"recipient":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"nativeValue":{"type":"string"},"functionName":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_]{0,79}$"}},"additionalProperties":false},"expectedAction":{"enum":["transfer","token_approval","swap","contract_interaction"],"type":"string"},"contractAddress":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}},"responseSchema":{"type":"json","example":{"status":"partial","warnings":[{"code":"approval_exceeds_expected","detail":"The approval amount is greater than the expected amount."},{"code":"unlimited_approval","detail":"The approval amount is the uint256 maximum. The calldata does not set an expiry."}],"result_id":"a1b2c3d4e5f60718293a4b5c6d7e8f90","mismatches":[{"field":"amount","actual":"115792089237316195423570985008687907853269984665640564039457584007913129639935","detail":"The approval amount exceeds the expected amount.","expected":"1000000"}],"risk_level":"critical","limitations":["This is static calldata analysis. It does not read chain state, simulate execution, or decide whether the target contra…","Chain ID is not checked against a network and does not change decoding.","…"],"received_at":"2026-11-12T12:00:00.000Z","intent_match":false,"missing_items":[{"check":"chain_state_not_read","detail":"No chain state was read. This response is local static analysis only.","reason":"not_supported"}],"decoded_transaction":{"selector":"0x095ea7b3","parameters":[{"name":"spender","type":"address","value":"0x2222222222222222222222222222222222222222"},{"name":"amount","type":"uint256","value":"115792089237316195423570985008687907853269984665640564039457584007913129639935"}],"function_name":"approve"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RT9d8IvueeAgP01bBW1yP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Statically analyzes EVM transaction calldata to verify it matches the user's expected intent, detecting mismatches, dangerous approvals, and risk levels before signing.","exampleAgentPrompt":"Before I sign this transaction, can you verify the calldata 0x095ea7b3...ffff for a token approval on chain 8453 against contract 0x1234...abcd — I'm expecting to approve spender 0x2222...2222 for exactly 1000000 USDC, and flag it if something looks off or the approval is unlimited?","exampleUseCases":[{"title":"Catch unlimited token approval","prompt":"I'm about to approve a DeFi protocol to spend my USDC, but I want to make sure the calldata I received isn't granting unlimited approval — can you check this calldata 0x095ea7b3... on chain 1 against contract 0xA0b86991...and tell me if it's really just approving 500000 USDC to spender 0xDef1...?"},{"title":"Verify recipient before ETH transfer","prompt":"Before my wallet signs this transaction, please decode the calldata 0xa9059cbb... and confirm it's a plain ERC-20 transfer of 100000000 tokens to 0xRecipient...abcd on chain 8453 — flag anything that doesn't match."},{"title":"Pre-sign swap calldata audit","prompt":"I'm executing a DEX swap and the router gave me some calldata — can you verify it's a swap action on chain 42161 at contract 0xRouter...1234 and check that there are no unexpected parameters or risk warnings before I approve it?"}],"resultDescription":"Returns a JSON object containing: an intent_match boolean, a risk_level (e.g. 'critical', 'high', 'low'), a decoded_transaction with function name, selector, and decoded parameters, an array of mismatches listing fields where actual values differ from expected, an array of warnings for dangerous patterns like unlimited approvals, and a limitations array explaining the bounds of the static analysis.","failureModes":["Invalid or malformed calldata hex returns a decode error","Unrecognized function selector with no ABI provided may result in undecoded transaction","Mismatch between supplied ABI and actual calldata causes incorrect decoding","Missing expected fields means intent matching is partial or skipped","Chain ID not found does not block decoding but chain context is not validated"],"whenToPreferThis":"Use this endpoint when an AI agent or wallet needs to verify that raw EVM transaction calldata actually matches a user's stated intent before signing — especially for token approvals, transfers, and swaps where malicious or misconfigured calldata could drain funds. Prefer this over manual inspection or generic decoders when you need structured risk scoring, mismatch detection, and warnings about unlimited approvals in a single call. It is particularly valuable in agentic DeFi workflows where the agent constructs or receives calldata from an external source and must validate it before execution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-13T18:46:16.553Z","isFirstParty":false,"canonicalSlug":"brainiac-crypto-transaction-intent-verifier-d72dcdf4"}