x402 uses HTTPDocumentation Index
Fetch the complete documentation index at: https://docs.thespawn.io/llms.txt
Use this file to discover all available pages before exploring further.
402 Payment Required as a machine-readable payment negotiation. For The Spawn docs, the user-facing explanation is:
First-run shape
- Offer a demo request that needs no wallet.
- Return
402for unpaid paid requests. - Include exact payment requirements.
- Let the caller retry after payment and receive a receipt.
Verified unpaid response
500000, which is $0.50 for a 6-decimal USDC asset.
What to expose
| Item | Example |
|---|---|
| Network | eip155:8453 for Base |
| Asset | USDC contract address on Base, or the Solana USDC mint when the service accepts Solana |
| Amount | 500000 for $0.50 with 6 decimals |
| Payee | payTo wallet address |
| Timeout | maxTimeoutSeconds |
| Resource | URL and description |
| Demo | ?demo=true or tool argument demo: true |
| Schema | input and output shape |