Frequently Asked Questions
Everything you need to know about NexromDEX and x402 payments
NexromDEX is the only x402 payment handler with automatic token swapping for AI agents on Solana. It enables AI agents to automatically pay for APIs using any token, with zero platform fees and best prices via Jupiter aggregator. NexromDEX handles the entire payment flow from detection to token swapping to payment confirmation automatically.
An x402 payment handler is a service that automatically processes HTTP 402 Payment Required responses. NexromDEX is the only x402 payment handler that includes automatic token swapping, allowing AI agents to pay for APIs even when they don't have the exact token required. It handles token conversion, payment processing, and request retries seamlessly.
When an AI agent makes an API call and receives a 402 Payment Required response, NexromDEX automatically intercepts it, parses the payment requirements, checks the agent's token balance, swaps tokens if needed using Jupiter aggregator, makes the payment on Solana blockchain, and retries the original API request. All of this happens automatically without any manual intervention.
When an agent encounters a 402 Payment Required response, NexromDEX automatically detects it, checks the agent's balance, swaps tokens if needed (e.g., SOL → USDC), makes the payment, and retries the original request. All without manual intervention.
NexromDEX supports all SPL tokens on Solana, including SOL, USDC, USDT, and any other SPL token. It routes through Jupiter aggregator to find the best prices across all Solana DEXes.
NexromDEX charges 0% fees - completely free swaps. No platform fees, no hidden costs. You only pay Solana network fees (paid in SOL separately).
Yes! All signing happens client-side. Your private keys never leave your system. NexromDEX only builds unsigned transactions - you sign them locally before sending to Solana.
No! That's the whole point. You can keep SOL (or any token) as your primary balance. NexromDEX will automatically swap to whatever token is needed when making payments.
NexromDEX includes robust error handling. If a swap fails, the agent can handle it gracefully. The x402 auto-pay agent includes retry logic and proper error reporting.
Yes! While built specifically for AI agents and x402 payments, NexromDEX can be used for any token swap on Solana. The web interface is available for manual swaps, and the API works for any programmatic use case.
Check out our developer documentation at https://nexromdex.xyz/developers. For the easiest integration, use the HTTP Interceptor which automatically handles all 402 responses. For more control, use the X402AutoPayAgent class directly.
Reach out on X (@NexromDEX), check our GitHub repository for examples, or review the documentation. We're here to help!
Yes! NexromDEX is live on Solana mainnet and handling real swaps. You can try it right now at NexromDEX.com or integrate it into your agent.
NexromDEX is specifically built for x402 payments and AI agents. While other aggregators focus on trading, NexromDEX focuses on automated payment flows. It includes the x402 auto-pay agent, handles edge cases specific to agents, and is optimized for pay-per-use API scenarios.
x402 is a payment protocol for Solana that enables pay-per-use API payments. When an API requires payment, it returns HTTP 402 Payment Required with payment details. NexromDEX is the only x402 payment handler that automatically handles token swapping, making it seamless for AI agents to pay for APIs using any token.
AI agents pay for APIs using the x402 protocol on Solana. When an API requires payment, it returns HTTP 402 Payment Required. NexromDEX automatically intercepts this response, swaps tokens if needed, makes the payment, and retries the API call. This enables AI agents to automatically pay for premium APIs without manual token management.
Automatic x402 payment automation is the process of handling x402 Payment Required responses without manual intervention. NexromDEX provides the only fully automated x402 payment handler that includes automatic token swapping, payment processing, and request retries. This enables AI agents to seamlessly pay for APIs using any token.
To integrate x402 payments, install the NexromDEX SDK (@NexromDEX/agent), configure the HTTPInterceptor with your Solana wallet, and enable autoSwap. Once configured, all API calls automatically handle 402 responses. The integration takes less than 5 minutes and requires zero manual payment handling code.
Still Have Questions?
Check out our documentation, examples, or reach out directly. We're here to help!