{"uid":"cap_fi8rCzh6caSHd5Nb1lBIp","slug":"solana-compute-unit-analyzer-5c5107c3","name":"Solana Compute Unit Analyzer","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/solana_compute_unit_analyze/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request_json":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["Consumption and limits are supplied observations, not a simulation."],"service_id":"solana_compute_unit_analyze","analysis_json":"{\"compute_unit_limit\":\"200000\",\"headroom\":\"20000\",\"units_consumed\":\"180000\",\"utilization_ppm\":\"900000\",\"within_limit\":true}","evidence_scope":"caller_supplied_data","analyzed_network":"solana"},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"solana_compute_unit_analyze","executionId":"example-execution","startedAtMs":0,"amountAtomic":"10000","resultSha256":"88040a8712a4dd9a7165609186a117e578d9bb8c13ec68db31b607873727a65c","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"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_IdW8nBFJGghLcUlLn2uIS","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":"Analyzes Solana transaction compute unit consumption and utilization against the compute unit limit, returning headroom, utilization, and limit breach status.","exampleAgentPrompt":"Can you analyze the compute unit usage for my Solana transaction — I observed 180000 units consumed out of a 200000 limit — and tell me the headroom, utilization rate, and whether I'm within the limit?","exampleUseCases":[{"title":"Detect compute budget exhaustion risk","prompt":"I have a Solana transaction that consumed 195000 compute units out of a 200000 limit — can you check the headroom and whether it's within the compute unit ceiling so I know if I need to optimize it?"},{"title":"Monitor program efficiency over time","prompt":"Run a compute unit analysis on this Solana transaction data where I observed 120000 units consumed with a 200000 limit, and tell me the utilization rate so I can track whether my program is getting more efficient."},{"title":"Validate compute budget before deployment","prompt":"Before I deploy my Solana program, I want to check that a transaction consuming roughly 175000 compute units stays within the 200000 limit — can you analyze the headroom and confirm it won't exceed the budget?"}],"resultDescription":"Returns a JSON analysis including compute_unit_limit, units_consumed, headroom (remaining units), utilization_ppm (parts per million), and within_limit boolean for the Solana network, along with warnings that the analysis is based on caller-supplied observations rather than a simulation.","failureModes":["Malformed or invalid request_json input results in a parsing error","Observations outside plausible Solana compute unit ranges may yield misleading utilization figures","Missing required fields in the request JSON may cause the service to return an error or incomplete analysis","Results reflect caller-supplied data accuracy, not an on-chain simulation — garbage-in, garbage-out risk"],"whenToPreferThis":"Use this endpoint when you need a quick, structured breakdown of Solana compute unit consumption from observed transaction data — especially when you want utilization_ppm, headroom, and a within-limit boolean without running a full on-chain simulation. It is ideal for agents monitoring Solana programs, validating compute budgets before deployment, or diagnosing near-limit transactions at $0.01 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T19:01:17.174Z","isFirstParty":false}