> ## Documentation Index
> Fetch the complete documentation index at: https://zyfai.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# getAggressiveOpportunities

Get aggressive (high-risk, high-reward) yield opportunities. Optionally filter by chain.

## Signature

```typescript theme={null}
getAggressiveOpportunities(chainId?: number): Promise<OpportunitiesResponse>
```

## Parameters

| Parameter | Type     | Required | Description              |
| --------- | -------- | -------- | ------------------------ |
| `chainId` | `number` | ❌        | Optional chain ID filter |

## Returns

List of degen strategies

## Return Type

```typescript theme={null}
interface OpportunitiesResponse {
  success: boolean;
  chainId?: number;
  strategyType: 'conservative' | 'aggressive';
  data: Opportunity[];
}
```

## Example

```typescript theme={null}
const opportunities = await sdk.getAggressiveOpportunities(8453);
opportunities.data.forEach(o => {
  console.log(`${o.protocolName} - ${o.poolName}: ${o.apy}% APY (Risk: ${o.risk})`);
});
```
