{"uid":"cap_V9H5tNG_EhonaQtXPOyGB","slug":"solana-agent-payment-fee-and-compute-budget-procedure-925bb855","name":"Solana Agent Payment Fee and Compute Budget Procedure","description":"Pay 0.002 USDC on Base for a machine-readable procedure that budgets Solana priority fees and compute unit limits for agent payment transactions, so a payment lands in the right slot instead of failing on congestion or overpaying. Covers priority fee sampling from recent blocks, CU limit sizing per instruction set, the failed-transaction vs landed-late failure modes, and the retry threshold when a payment does not confirm in N slots. Returns a pass/fail verdict with the fee and CU budget tuple.","url":"https://k2so.wrong.systems/api/services/solana-agent-payment-fee-budget-procedure?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Solana agent payment fee and compute budget procedure paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_u1stlGTHmwm3m6dGHC3KG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a machine-readable decision procedure for sizing Solana priority fees and compute unit limits for agent payment transactions, with a pass/fail verdict and fee+CU budget tuple.","exampleAgentPrompt":"Give me the recommended priority fee and compute unit budget I should use for my Solana agent payment transaction right now, including how many slots to wait before retrying if it doesn't confirm.","exampleUseCases":[{"title":"Landing a Solana payment without congestion failure","prompt":"My agent is about to send a USDC payment on Solana and I don't want it to fail due to network congestion — what priority fee and compute unit limit should I set so it lands in the right slot?"},{"title":"Avoiding overpayment on Solana priority fees","prompt":"I keep overpaying priority fees on Solana agent transactions. Can you give me the right fee and CU budget tuple based on recent block samples so I stop wasting money?"},{"title":"Determining retry threshold for unconfirmed Solana payments","prompt":"My Solana payment transaction didn't confirm within the expected number of slots — what's the procedure for deciding when to retry and how should I size the fee and compute budget for the retry attempt?"}],"resultDescription":"A structured response containing a pass/fail verdict, a recommended priority fee value, a compute unit limit sized to the instruction set, decision procedure prose explaining the rationale, the generation source (llm/reasoning/deterministic), and an ISO-8601 timestamp. Optionally includes payment confirmation metadata.","failureModes":["Payment of 0.002 USDC not made — returns 402 payment required with no procedure","Invalid query parameters return schema validation error","Service unavailable or provider downtime returns 5xx with no procedure data","Stale block fee data may produce outdated fee recommendations","Topic override not recognized may yield generic rather than targeted procedure"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a deterministic, machine-readable procedure for sizing Solana priority fees and compute unit limits before submitting a payment transaction — especially when avoiding congestion failures, late landings, or fee overpayment is critical. Prefer this over generic Solana RPC fee estimation when you need structured retry logic and a pass/fail verdict rather than raw fee data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T12:40:18.404Z","isFirstParty":false,"canonicalSlug":"solana-agent-payment-fee-and-compute-budget-procedure-925bb855"}