{"uid":"cap_M-9y4r65M_AK_cJ-aaYDr","slug":"chainray-online-302b5ce0","name":"ChainRay MEV Shield","description":"The most complete blockchain data and intelligence service for AI agents. 93 endpoints across 46 chains, from gas fees to DeFi analytics, with real-time streams, intent routing, and verifiable proofs. Pay-per-request via x402.","url":"https://chainray.online/mev-shield","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","properties":{"chain":{"type":"string","description":"Blockchain network (e.g., base, ethereum, polygon)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"chain":"base"}}},"response":{"risk":{"factors":{"gasRisk":0.05,"sizeRisk":0.2,"chainRisk":0.05,"trendRisk":0.05,"actionRisk":0.15},"riskLevel":"low","sandwichRisk":0.12},"chain":"base","trade":{"action":"swap","tokenIn":"USDC","tokenOut":"ETH","amountUsd":1000},"_proof":{"chain":"base","dataHash":"b3c3f815c05ae41dc0da98aec6aa7552b2d66e10ef5bbf50abdb9098697b78bc","blockHash":"0xd498d5571a8a2eb9ea11a1dc2001e5b7ba6e3d91f3bb8161c4a11121c7590053","chainName":"Base","blockNumber":47267352,"analysisHash":"a76953b1e7a8b7e61860a3ee6f2e4e2de42a8729812e571c792b3ac52f59d9e9","proofVersion":"3.0","blockTimestamp":1781324051,"proofTimestamp":1781324051880},"timestamp":1781324051837,"gasContext":{"unit":"gwei","trend":"stable","currentGas":0.005},"oracleType":"mev-shield","limitations":["No mempool or pending transaction visibility","Risk score is a statistical estimate, not a guarantee","Best used as pre-trade risk advisory for AI agents"],"methodology":"5-factor heuristic risk model: tradeSize(35%), gasLevel(20%), chainMEV(20%), actionType(15%), gasTrend(10%). Based on real-time gas data. Does NOT monitor mempool or pending transactions.","mitigations":[{"strategy":"set_deadline","description":"Always set a transaction deadline (e.g. 5min) to prevent stale executions"}],"priceContext":{"nativeTokenUsd":1663.77,"estimatedGasCostUsd":0.0002},"recommendation":"proceed — use standard slippage protection","recommendedSlippage":0.1}},"exampleRequest":{"chain":"base"},"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6e6386RFbE_RUva7QmcxZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Protects blockchain transactions from MEV attacks (front-running and sandwich attacks) by routing them through ChainRay's shielding service for chains like Base.","exampleAgentPrompt":"Can you shield my transaction from MEV front-running and sandwich attacks on the Base chain using ChainRay's MEV protection service?","exampleUseCases":null,"resultDescription":"Returns a shielded routing response indicating that the transaction has been processed through ChainRay's MEV protection layer for the specified chain (e.g., Base), reducing exposure to front-running and sandwich attacks.","failureModes":["Unsupported chain specified — only certain chains like Base are supported","Missing or invalid 'chain' query parameter returns an error or default behavior","Payment failure (insufficient USDC balance) results in 402 response","Service unavailable for the requested chain at the time of the call","Network timeout if the shielding service is under high load"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to submit or route a DeFi transaction on Base or other supported chains and wants to protect it from MEV bots (front-runners, sandwich attackers). Ideal for swaps, large trades, or any transaction where value extraction by miners/validators is a concern. Prefer this over unprotected RPC calls when transaction privacy and ordering protection matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:58:15.214Z","isFirstParty":false}