{"uid":"cap_8bM4e4vHyAarNzyXs_DHh","slug":"compute-api-base-chain-x402-protocol-constants-723ab9d9","name":"Compute API - Base Chain & x402 Protocol Constants","description":"Base chain + x402 protocol constants","url":"https://compute-api-production-245d.up.railway.app/constants?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"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_b7cjTAoxepUddl1E_xwZ5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns Base blockchain network constants and x402 payment protocol configuration values (version, supported chains, features, seller address)","exampleAgentPrompt":"What are the x402 protocol constants and Base chain configuration for the Compute API — I need the protocol version, supported chains, and seller address.","exampleUseCases":[{"title":"Bootstrap x402 payment integration","prompt":"What are the x402 protocol constants I need to integrate payments with the Compute API — specifically the protocol version, supported chains, and seller address?"},{"title":"Verify Base chain compatibility","prompt":"Can you pull the Base chain and x402 configuration from the Compute API so I can check which chains and features are supported before I start building?"},{"title":"Audit protocol configuration","prompt":"Fetch the current x402 protocol version and network constants from the Compute API so I can confirm the setup matches what my app expects."}],"resultDescription":"Returns a JSON object containing Base chain network constants and x402 protocol metadata, including protocol version, list of supported chains, available protocol features, and the seller address used for payment routing.","failureModes":["Service unavailable (Railway deployment down) — 502/503 error","Unexpected schema change if protocol version updates break consumers","Rate limiting or payment failure ($0.01 USDC not paid) returns 402 Payment Required","Empty or partial response if the Railway instance is cold-starting"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover or verify the x402 protocol configuration and Base chain constants for the Compute API — particularly useful during initial integration, configuration validation, or when building payment flows that depend on knowing the correct seller address, supported chains, or protocol version.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:30:13.350Z","isFirstParty":false,"canonicalSlug":"compute-api-base-chain-x402-protocol-constants-723ab9d9"}