Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
getAggressiveOpportunities(chainId?: number): Promise<OpportunitiesResponse>
chainId
number
interface OpportunitiesResponse { success: boolean; chainId?: number; strategyType: 'conservative' | 'aggressive'; data: Opportunity[]; }
const opportunities = await sdk.getAggressiveOpportunities(8453); opportunities.data.forEach(o => { console.log(`${o.protocolName} - ${o.poolName}: ${o.apy}% APY (Risk: ${o.risk})`); });