Getting Started By x402

What is x402?
How it works:

The Complete Flow
Key Components
How to Use x402 with Minara
1. Using x402 SDK (Recommended)
Prerequisites
Step 1: Install Dependencies
Step 2: Set Up Your Wallet Signer
Step 3: Make Requests: Payments Handled Automatically!
Multi-Chain Support (Base + Solana + Polygon)
Complete Example: Chat with Minara
2. Manual Payment Flow (Without SDK)
Step 1: Make Initial Request
Step 2: Receive Payment Challenge
Step 3: Pay with Wallet
Step 4: Retry with Payment Proof
Step 5: Get Response
Error Handling
Common Errors from Minara API
Rate Limits
Resources & Support
📚 Official x402 Resources
📦 NPM Packages
🔍 Minara Specific
API Reference
API Reference (x402)Last updated
Was this helpful?

