{"uid":"cap_gVrs_OKuTWffdVsQY9ba6","slug":"public-goods-patronage-inscription-gate-procedure-f7022160","name":"Public-Goods Patronage Inscription Gate Procedure","description":"Deterministic procedure for an agent deciding whether to patronize a public-goods x402 endpoint through a patronage inscription (sending USDC to an AI treasury to permanently inscribe a message). Ordered checks: classify the endpoint as public-goods versus commercial by checking for API keys, per-call product semantics, and treasury funding, an inscription is a patronage signal, not a purchase; verify what the inscription records (message, sender wallet, timestamp) and where (on-chain versus","url":"https://k2so-8080.on.ascii.dev/api/services/public-goods-patronage-inscription-gate-procedur?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":"Public-goods patronage inscription gate 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_DAjutXV-ALV_WUdeDvARl","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 deterministic decision procedure guiding an agent on whether and how to patronize a public-goods x402 endpoint by sending USDC to permanently inscribe a message on-chain.","exampleAgentPrompt":"Walk me through the decision procedure for whether to send a USDC patronage inscription to a public-goods x402 endpoint — specifically check if it qualifies as public-goods (not commercial), what the inscription will record on-chain, and whether it's worth the patronage signal.","exampleUseCases":[{"title":"Pre-inscription endpoint classification check","prompt":"Before my agent sends any USDC to that x402 treasury, run the patronage inscription gate procedure and tell me whether this endpoint truly qualifies as public-goods or if it's actually a commercial service I'd be paying for differently."},{"title":"On-chain inscription content audit","prompt":"What exactly will get permanently recorded on-chain if my agent does a patronage inscription right now — show me the full decision procedure including message, sender wallet, and timestamp details."},{"title":"Topic-specific patronage decision for agent workflow","prompt":"Run the public-goods patronage inscription gate procedure for the topic 'open data APIs' so my agent can decide whether to send a USDC patronage signal to this x402 endpoint as part of its automated funding workflow."}],"resultDescription":"Returns a JSON object containing a boolean success flag, payment confirmation, a prose decision procedure brief for agents, the service slug, generation source (llm/reasoning/deterministic), an ISO-8601 timestamp, and optionally a topic and model identifier — guiding the agent through ordered checks on endpoint classification, inscription semantics, and on-chain recording details.","failureModes":["Payment not received — endpoint returns 402 requiring USDC payment before content is delivered","Invalid method — only GET/HEAD/DELETE are accepted; POST/PUT will be rejected","Malformed query params — unrecognized values for meta or topic may yield unexpected responses","Upstream LLM/reasoning failure — generationSource may fall back or result field may be incomplete","Self-pay scenario — agent may be identified as paying its own treasury, flagged in payment.selfPay field"],"whenToPreferThis":"Choose this endpoint when an agent needs structured, deterministic guidance on whether to patronize a public-goods x402 service via on-chain USDC inscription — specifically when the agent must classify the endpoint (public-goods vs commercial), understand what the inscription permanently records, and decide whether sending a patronage signal is semantically appropriate. Prefer over generic payment decision logic when the x402 patronage inscription pattern (message + sender wallet + timestamp on-chain) is the specific mechanism in use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:53:43.332Z","isFirstParty":false,"canonicalSlug":"public-goods-patronage-inscription-gate-procedure-f7022160"}