DOCUMENTATION
Getting Started
Kynexus is a narrative intuition engine that identifies emerging trends within the Solana ecosystem. Connect to the platform, subscribe to trend feeds, and gain insights to stay ahead in the market.
npm install @nexalith/clientCore Concepts
Trend Feeds
Real-time feeds that provide insights into emerging narratives within the Solana ecosystem. Each feed captures significant shifts in market sentiment and trends.
• Latency: Updates every 15 seconds
• Data size: Varies based on narrative complexity
• Retention: Historical data available for 30 days
Narrative Snapshots
Aggregated insights showcasing the most relevant trends and ideas. Each snapshot provides a comprehensive view of market dynamics, empowering users to make informed decisions.
• Verification method: Aggregated from multiple sources
• Confidence threshold: Based on user engagement metrics
• Failure mode: Alerts users of potential misinformation
API Endpoints
/v1/trends/:categoryRetrieve current trends for a specified category within the Solana ecosystem.
/v1/streams/subscribeSubscribe to real-time trend notifications for specific categories and filters.
/v1/narratives/:idQuery detailed information about a specific narrative based on its ID.
/v1/validateSubmit a narrative for validation against community feedback.
Integration Guide
Basic Connection
import { KynexusClient } from '@nexalith/client'
const client = new KynexusClient({
apiKey: process.env.NXLT_API_KEY,
network: 'mainnet'
})
// Query current trends
const trends = await client.getTrends('technology')
console.log(trends)Stream Subscription
// Subscribe to trend updates
const stream = client.subscribeToStream({
category: 'finance',
filter: { relevance: 'high' }
})
stream.on('trend', (trend) => {
console.log('New emerging trend:', trend.data)
})
stream.on('error', (err) => {
console.error('Stream error:', err)
})Developer Notes
Rate Limits
Free tier: 100 requests/minute. Staked tier (10K+ $KYNE): 1000 requests/minute. Enterprise: Unlimited (custom $KYNE stake required).
Narrative Validation
All narratives are subject to community validation. Client SDK verifies inputs locally by default. Disable with validateLocal: false to trust network consensus.
Error Handling
Invalid requests are rejected immediately. Failed validations return valid: false with detailed rejection reason. Always verify data before acting on it.