Gateway Overview
The NullState Gateway is the public HTTP endpoint for all payment and management operations.
Base URL
Self-hosted instances run on port 8080 by default (configurable).
Protocols
| Protocol | Purpose |
|---|---|
| x402 | Crypto micropayments via HTTP 402 |
| AP2 | Enterprise payment mandates |
| MCP | JSON-RPC tool proxy for AI agents |
| KYA | Agent identity verification |
Getting Started
# Health check
curl http://localhost:8080/health
# Request a solution
curl http://localhost:8080/get_solution?id=task_demo