{"uid":"cap_s3dCRQhlQQmYyplOKdAnW","slug":"agent-buyer-identity-preflight-x402-purchase-governance-rpc-5b647d9d","name":"Agent Buyer Identity Preflight | x402 Purchase Governance – RPC Capability Probe","description":"Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.","url":"https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/chain/rpc-capability-probe?utm_source=zero.xyz","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":["chain","methods"],"properties":{"chain":{"type":"string","pattern":"^[A-Za-z0-9:_ -]{2,80}$","description":"Requested chain or CAIP-2 network label."},"methods":{"type":"string","pattern":"^[A-Za-z0-9_.,:-]{2,400}$","description":"Comma-separated RPC methods the workflow needs."},"requires_trace":{"type":"string","pattern":"^(?:true|false)$","description":"Whether debug/trace methods are required."},"historical_block":{"type":"string","pattern":"^[0-9]{1,12}$","description":"Optional historical block number needed by the workflow."},"requires_websocket":{"type":"string","pattern":"^(?:true|false)$","description":"Whether subscription/WebSocket support is required."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"network":{"type":"string"},"product":{"type":"string"},"activity":{"type":"object"},"identity":{"type":"object"},"assessment":{"type":"object"},"provenance":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"network":"eip155:8453","product":"rpc-capability-probe","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"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.005009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cD-Qg0EEtLTR6UyMxyVdH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a requested set of RPC methods on a given blockchain network are accessible and appropriate before an AI agent purchases an x402-gated RPC endpoint.","exampleAgentPrompt":"Before spending USDC on this x402 RPC tool, check whether eth_call, eth_getLogs, and eth_getTransactionReceipt are all supported on Base (eip155:8453) and tell me the risk score.","exampleUseCases":[{"title":"RPC method availability check before purchase","prompt":"I need to buy an x402-gated RPC endpoint for Base mainnet — before I pay, can you probe whether it supports eth_call, eth_getLogs, and eth_sendRawTransaction, and flag any risk issues?"},{"title":"WebSocket subscription support verification","prompt":"My agent workflow needs WebSocket subscriptions on Ethereum mainnet — run a preflight check for eth_subscribe and eth_newBlockFilter on eip155:1 before I approve the x402 purchase."},{"title":"Historical block and trace method governance check","prompt":"Before my agent buys this x402 RPC tool, verify that debug_traceTransaction and trace_block are available on eip155:137 for historical block 18000000, and tell me whether the risk level is low enough to proceed."}],"resultDescription":"A JSON object containing the network identifier, product name, an assessment object with a risk score (0–1 numeric), risk level string (e.g. 'low'), and any raised flags, plus optional activity, identity, and provenance sub-objects that describe the capability probe outcome.","failureModes":["Missing or invalid 'chain' parameter returns a validation error","Malformed 'methods' string (non-alphanumeric characters) rejected by pattern validation","Unsupported or unknown chain identifier may return empty or error assessment","Network timeout from Cloudflare Worker if upstream RPC is unreachable","requires_trace or requires_websocket set to a non-boolean string returns schema error"],"whenToPreferThis":"Use this endpoint when an AI agent needs to verify RPC method availability and purchase policy fit on a specific blockchain network before committing USDC via x402. Prefer this over generic RPC health checks when you need a structured risk assessment tied to x402 purchase governance, especially when the workflow has specific method, WebSocket, or historical block requirements.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:05:41.912Z","isFirstParty":false,"canonicalSlug":"agent-buyer-identity-preflight-x402-purchase-governance-rpc-5b647d9d"}