{"uid":"cap_k2NJu3un6juu8aZSCdt0Q","slug":"injective-rail-x402-agent-integration-procedure-e351d132","name":"Injective Rail x402 Agent Integration Procedure","description":"Deterministic decision procedure for an agent buying x402 services on the Injective rail or through the Injective agent stack. Verifies facilitator credential checks on Injective, x402 contract presence and version on the Injective mainnet, settlement finality evidence for INJ/USDC-native assets, toolkit routing (MCP server vs direct endpoint), onchain identity integration as merchant verification, price honesty against the task, timeout budgets, and a Base fallback when the Injective endpoint","url":"https://k2so.wrong.systems/api/services/injective-rail-x402-agent-integration-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":"Injective rail x402 agent integration 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":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"injective-rail-x402-agent-integration-procedure","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"injective-rail-x402-agent-integration-procedure","provider":"K-2SO"}},"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_5nRIxQzpZn-bvPJV1DNHf","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 paid AI-generated decision procedure brief explaining how an autonomous agent should integrate with the Injective rail via x402 payment protocol","exampleAgentPrompt":"Give me a decision procedure brief for integrating my autonomous agent with the Injective rail using x402 micropayments — I need the full step-by-step guidance in plain prose.","exampleUseCases":[{"title":"Bootstrap Injective rail agent integration","prompt":"I'm building an autonomous agent that needs to call services on the Injective rail — can you fetch me a decision procedure brief explaining exactly how it should handle x402 payments and integrate with that rail?"},{"title":"Evaluate Injective rail fit for agent architecture","prompt":"My team is evaluating whether to route our agent's transactions through the Injective x402 rail. Can you pull the decision procedure so I can review the recommended approach before we commit to the architecture?"},{"title":"Custom topic procedure for Injective x402 flow","prompt":"Pull a K-2SO decision procedure brief for the Injective rail x402 integration, but focus the topic on error handling and retry logic when a payment signature is rejected."}],"resultDescription":"A JSON object containing a paid decision procedure response with 'ok' and 'paid' booleans, a 'result' object holding a 120+ word plain-prose 'brief' (the decision procedure), the topic, the LLM model used, a generation source enum (llm/reasoning/deterministic), an ISO-8601 generatedAt timestamp, the service slug, and provider name 'K-2SO'.","failureModes":["HTTP 402 returned if payment not settled — must pay exact USDC amount and retry with PAYMENT-SIGNATURE header","Invalid or missing 'input' object returns schema validation error","Unsupported HTTP method (only GET/HEAD/DELETE allowed) returns error","LLM generation failure may return ok:false with error detail in result","Stale or unavailable generation source may fall back to deterministic procedure"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs authoritative, AI-generated procedural guidance specifically for integrating with the Injective blockchain rail via the x402 micropayment protocol. Prefer it over generic documentation lookups when you need a concise, agent-consumable prose brief rather than raw docs, and when you are already operating within the x402 payment ecosystem on Base/USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:50:39.149Z","isFirstParty":false,"canonicalSlug":"injective-rail-x402-agent-integration-procedure-e351d132"}