Quick Start
⏱️ 2 min read
🚀 Step 1: Get Your API Key (1 minute)
⚠️ Authentication Format
// ✅ CORRECT - Use Bearer authentication
const headers = {
'Authorization': 'Bearer sk_test_1234567890abcdef',
'Content-Type': 'application/json'
}
// ❌ WRONG - These will result in 403 Forbidden
const wrongHeaders = {
'X-API-Key': 'sk_test_1234567890abcdef', // Wrong header name
'Authorization': 'sk_test_1234567890abcdef', // Missing 'Bearer'
'Authorization': 'Bearer sk_expiredApiKey', // Expired key
}🔧 Step 2: Environment Setup (2 minutes)
Quick Testnet Setup
💱 Step 3: Core Integration (2 minutes)
Essential API Flow
Or you can just use the DeFindex SDK for a more streamlined experience.
Working Examples
📤 Advanced Options
Gasless Transactions
Custom Transaction Submission
Request Parameters
Deposit Request
Withdraw Request
Send Request
❓ Common Issues & Solutions
"403 Forbidden" errors
"Insufficient balance"
Network mismatch
Expected Response Times
🚨 Production Considerations
Security
Performance
Monitoring
🎯 Next Steps
📚 Additional Resources
Last updated