{"service":"x402-sponsor-relay","version":"1.28.0","description":"Gasless transactions for AI agents on the Stacks blockchain","docs":"/docs","openapi":"/openapi.json","agentDiscovery":"/llms.txt","dashboard":"/dashboard","endpoints":{"relay":"POST /relay - Submit sponsored transaction for native settlement","sponsor":"POST /sponsor - Sponsor and broadcast transaction (direct, requires API key)","verify":"GET /verify/:receiptId - Verify a payment receipt","access":"POST /access - Access protected resource with receipt","provision":"POST /keys/provision - Provision API key via Bitcoin signature","provisionStx":"POST /keys/provision-stx - Provision API key via Stacks signature","fees":"GET /fees - Get clamped fee estimates","feesConfig":"POST /fees/config - Update fee clamps (admin, requires API key)","health":"GET /health - Service health summary","sponsorStatus":"GET /status/sponsor - Cached sponsor readiness snapshot","stats":"GET /stats - Relay statistics (JSON)","transactionLog":"GET /stats/transactions - Recent individual transactions","nonceStats":"GET /nonce/stats - Nonce coordinator stats","nonceState":"GET /nonce/state - Observable nonce state for client diagnostics","nonceReset":"POST /nonce/reset - Trigger on-demand nonce recovery (admin, requires API key)","nonceFillGaps":"POST /nonce/fill-gaps/:wallet - Fill gaps for a specific wallet (admin, requires API key)","nonceSurgeHistory":"GET /nonce/surge-history - Surge event history for capacity planning","dashboard":"GET /dashboard - Public dashboard (HTML)","wallets":"GET /wallets - Sponsor wallet status (balance, fees, pool)","paymentStatus":"GET /payment/:id - Check queue-based payment status","chainhook":"POST /webhook/chainhook - Hiro chainhook transaction webhook","queueRead":"GET /queue/:senderAddress - Agent queue state (SIP-018 auth required)","queueCancel":"DELETE /queue/:senderAddress/:walletIndex/:sponsorNonce - Cancel queued tx (SIP-018 auth required)","settle":"POST /settle - x402 V2 facilitator settle","settleStatus":"GET /settle/status/:txid - Transaction settlement status","verifyV2":"POST /verify - x402 V2 facilitator verify","supported":"GET /supported - x402 V2 supported payment kinds"},"payment":{"tokens":["STX","sBTC","USDCx"],"flow":"Agent signs sponsored tx -> POST /relay sponsors + settles natively"},"related":{"github":"https://github.com/aibtcdev/x402-sponsor-relay"}}