VenuesAPI — Discover yield venues and strategies
client.venues
async list(query?: VenueQuery): Promise<VenueListResponse>
interface VenueQuery { /** Filter by blockchain */ blockchain?: 'solana' | 'polygon' | 'ethereum'; /** Filter by token symbol (e.g., 'USDC') */ token?: string; } interface VenueListResponse { venues: Venue[]; count: number; strategyCount: number; }
async get(id: number): Promise<Venue>
interface Venue { id: number; name: string; protocol: string; blockchain: 'solana' | 'polygon' | 'ethereum'; iconUrl?: string; status: 'active' | 'paused' | 'deprecated'; strategies: Strategy[]; } interface Strategy { strategyId: number; name: string; token: string; tokenAddress: string; apy: number; tvl?: string; minDeposit?: string; maxDeposit?: string; status: 'active' | 'paused'; }