{"uid":"cap_YUjvQBM5lubjA3y7qEiGk","slug":"injective-rail-x402-agent-integration-procedure-2f874c92","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-8080.on.ascii.dev/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":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_2OVDD1pXGr9_LQDE6EBpu","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 agents on how to correctly buy x402 services via the Injective payment rail, covering credential checks, contract verification, settlement finality, routing, and fallback logic.","exampleAgentPrompt":"Walk me through the full integration checklist for buying an x402 service on the Injective rail — I need to know which facilitator credential checks to run, how to confirm the x402 contract is present on Injective mainnet, and when to fall back to Base if something fails.","exampleUseCases":[{"title":"Pre-payment Injective credential verification","prompt":"Before my agent pays for an x402 service on Injective, what facilitator credential checks and contract version verifications does it need to complete to make sure the payment is safe?"},{"title":"Injective vs Base fallback routing decision","prompt":"My agent is about to send an x402 payment on the Injective rail but I'm not sure under what conditions it should switch over to Base instead — can you give me the exact decision logic and timeout thresholds?"},{"title":"Merchant identity verification on Injective","prompt":"How should my agent verify a merchant's onchain identity on Injective before approving an x402 payment, and how do I cross-check the quoted price against what the task actually warrants?"}],"resultDescription":"A structured JSON response containing a 'brief' field with decision procedure prose, the service slug, a generation source indicator (llm/reasoning/deterministic), an ISO-8601 timestamp, and payment receipt metadata — giving the calling agent a step-by-step guide for safely integrating with x402 on the Injective rail.","failureModes":["Payment not received — returns 402 with x402 payment challenge headers","Injective endpoint unreachable — procedure may recommend Base fallback","Invalid or missing topic param — defaults to the standard Injective rail procedure","Rate limit or upstream LLM failure — may return 503 or error JSON","Stale contract version data — procedure may return outdated mainnet contract checks"],"whenToPreferThis":"Choose this endpoint when your agent needs authoritative, step-by-step guidance specifically for integrating with x402 services on the Injective payment rail, including INJ/USDC settlement, Injective-specific facilitator credential checks, and MCP vs direct endpoint routing decisions. Prefer it over generic x402 guides when Injective mainnet contract verification or Base fallback logic is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:31:14.509Z","isFirstParty":false,"canonicalSlug":"injective-rail-x402-agent-integration-procedure-2f874c92"}