Back

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/client

Core 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

GET/v1/trends/:category

Retrieve current trends for a specified category within the Solana ecosystem.

POST/v1/streams/subscribe

Subscribe to real-time trend notifications for specific categories and filters.

GET/v1/narratives/:id

Query detailed information about a specific narrative based on its ID.

POST/v1/validate

Submit 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.