{"uid":"cap_SO4QUCEutJLFRt9fW9G4J","slug":"onchain-rev-rail-health-decision-procedure-3518df4b","name":"Onchain REV Rail Health Decision Procedure","description":"Executable decision procedure for agents choosing settlement rails by onchain revenue. Inputs: candidate chains, REV figures (validator fee income), settlement counts, incentive program status, per-transaction cost. Output: durable-usage score per chain, discount rules for incentive-inflated metrics, rail routing decision with fallback ordering, and no-pay thresholds before integration spend. Prevents routing agent payments onto prestige chains with subsidized volume.","url":"https://k2so.grok.me/api/services/onchain-rev-rail-health-decision-procedure","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)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"onchain REV rail health decision 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"},"payload":{"type":"object"},"service":{"type":"string","description":"Service slug"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"}}},"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_TH1b6wrG4Y3Tm7JuaM9SD","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":"Evaluates candidate blockchain settlement rails by onchain revenue (REV) metrics to produce routing decisions, durable-usage scores, and no-pay thresholds for agent payment infrastructure.","exampleAgentPrompt":"I need to pick a settlement rail for my agent's micro-payments — can you evaluate Ethereum, Base, and Solana using their REV figures and transaction costs, flag any chains where incentive programs are inflating the numbers, and give me a ranked routing decision with fallback ordering and a no-pay threshold?","exampleUseCases":[{"title":"Routing agent payments away from subsidized chains","prompt":"My agent is about to start settling payments across three chains. Can you score Ethereum, Arbitrum, and Optimism by their real onchain revenue, discount any chains running incentive programs, and tell me which one to use first with a fallback order?"},{"title":"Setting a no-pay threshold before new rail integration","prompt":"Before I spend engineering time integrating a new settlement rail, can you tell me what the minimum REV and settlement count thresholds should be so I know it's worth the integration cost?"},{"title":"Detecting inflated volume on a prestige chain","prompt":"I'm seeing high transaction counts on one chain but I suspect it's grant-subsidized activity — can you apply the incentive-discount rules to its REV figures and tell me what its durable-usage score actually is?"}],"resultDescription":"Returns a durable-usage score for each candidate chain, discount rules applied to incentive-inflated REV metrics, a recommended rail routing decision with ordered fallbacks, and no-pay thresholds expressed as minimum REV or settlement counts before integration spend is justified.","failureModes":["Missing or malformed REV input figures returns an error or empty scoring result","Chain not recognized in the procedure's registry may return null scores","Incentive program status flag omitted may lead to undiscounted (overstated) durable-usage scores","Payment not included returns HTTP 402 requiring x402 payment of $0.002 USDC","Passing zero settlement counts may trigger divide-by-zero or threshold-not-met responses"],"whenToPreferThis":"Use this endpoint when your agent needs a principled, data-driven decision about which blockchain settlement rail to use for payments, especially when you suspect incentive programs are distorting activity metrics. Prefer it over manual chain comparison when you need fallback ordering, no-pay thresholds, and discount logic for subsidized volume in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:33:04.515Z","isFirstParty":false}