{"uid":"cap__FLCNb04kS1ummHNARyQo","slug":"x402-solana-mainnet-wallet-preflight-linter-132b783c","name":"x402 Solana Mainnet Wallet Preflight Linter","description":"x402-paid Solana mainnet wallet preflight oracle for agents.","url":"https://home.chrz.dev/agent-dust/v1/agent/x402-lint","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["payment_required"],"properties":{"payment_required":{"type":"string","description":"Base64 payment-required header or raw JSON string"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","errors","warnings"],"properties":{"ok":{"type":"boolean"},"errors":{"type":"array"},"summary":{"type":"object"},"warnings":{"type":"array"}}}}}}},"responseSchema":{"type":"json","example":{"ok":false,"errors":["accepts[0].payTo is missing"],"summary":{"assets":[],"networks":[],"min_amount_usdc":null},"warnings":["resource.mimeType is missing"]}},"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_HqE5KXoqi0MfWo_yv6JTb","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":"Validates an x402 payment configuration object for Solana mainnet before an agent attempts a paid request, returning errors and warnings about missing or malformed fields.","exampleAgentPrompt":"Check my x402 payment config for errors before I use it — the accepts array has payTo set to my Solana mainnet wallet and the resource mimeType is 'application/json', and I want to make sure everything is valid before my agent tries to pay.","exampleUseCases":[{"title":"Debug missing payTo field","prompt":"My x402 paid API calls keep failing — can you lint this payment config object and tell me what fields are missing or wrong? The accepts array doesn't seem to have a payTo address set."},{"title":"Preflight check before agent deployment","prompt":"Before I deploy my agent that uses x402 payments on Solana mainnet, run a preflight validation on my payment configuration and list any errors or warnings so I can fix them first."},{"title":"Validate USDC amount and network settings","prompt":"Can you validate my x402 config to confirm the min USDC amount and network are correctly specified for Solana mainnet? I want to make sure the summary fields look right before going live."}],"resultDescription":"A JSON object with an 'ok' boolean, an 'errors' array listing validation failures (e.g. missing payTo, malformed accepts), a 'warnings' array for non-blocking issues (e.g. missing mimeType), and a 'summary' object containing detected assets, networks, and minimum USDC amount.","failureModes":["Malformed request body returns validation errors in the errors array with ok=false","Missing required fields in accepts array surfaced as specific error strings","Non-fatal issues like missing mimeType returned as warnings rather than errors","Network connectivity issues may return HTTP-level errors","Invalid JSON input may cause a 400-level response"],"whenToPreferThis":"Use this endpoint when you need to validate an x402 payment configuration object before submitting a paid request on Solana mainnet — particularly useful during agent development, CI/CD pipelines, or when debugging why x402 payments are being rejected. Prefer this over trial-and-error live calls since it costs only $0.005 USDC and returns actionable error messages without triggering actual payment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:37:12.687Z","isFirstParty":false}