DOCUMENTATION
Getting Started
Fusryn provides a framework for autonomous portfolio management, transforming your assets into aligned growth paths. Connect to the platform, set your risk parameters, and experience secure capital management in real-time.
npm install @fusionary/clientCore Concepts
Portfolio Autonomy
Fusryn empowers users to manage their assets with precision. By defining goals and constraints, users can achieve aligned growth while minimizing risks.
• Risk management: Tailored to user preferences
• Performance tracking: Real-time insights on portfolio trends
• Goal alignment: Ensuring capital moves with intent
Trend Monitoring
Fusryn monitors market trends and alerts users to opportunities that match their investment criteria. This proactive approach helps in making informed decisions.
• Alerts: Notifications for key market movements
• Data-driven insights: Leveraging historical data for future predictions
• User-defined metrics: Customizable tracking based on individual goals
API Endpoints
/v1/portfolio/:userIdRetrieve the portfolio for a specific user, including current allocations and performance metrics.
/v1/portfolio/allocateAllocate assets according to user-defined goals and risk parameters.
/v1/trends/:marketQuery current market trends and insights relevant to user-defined portfolios.
/v1/verifySubmit allocation strategies for independent verification against market conditions.
Integration Guide
Basic Connection
import { FusrynClient } from '@fusionary/client'
const client = new FusrynClient({
apiKey: process.env.FSNR_API_KEY,
network: 'mainnet'
})
// Query user portfolio
const portfolio = await client.getPortfolio('userId123')
console.log(portfolio)Trend Subscription
// Subscribe to market trends
const trends = client.subscribeToTrends({
market: 'solana',
filter: { risk: 'low' }
})
trends.on('update', (data) => {
console.log('New market insight:', data)
})
trends.on('error', (err) => {
console.error('Trend subscription error:', err)
})Developer Notes
Rate Limits
Free tier: 100 queries/minute. Staked tier (10K+ $FSNR): 1000 queries/minute. Enterprise: Unlimited (custom $FSNR stake required).
Proof Verification
All allocations include verification parameters. Client SDK verifies locally by default. Disable with verifyLocal: false to trust network consensus.
Error Handling
Network rejects invalid queries immediately. Failed allocations return verified: false with detailed rejection reason. Always verify data before making financial decisions.