VenuesAPI
Access viaclient.venues.
list
List available venues with optional filters.Copy
async list(query?: VenueQuery): Promise<VenueListResponse>
Copy
interface VenueQuery {
/** Filter by blockchain */
blockchain?: 'solana' | 'polygon' | 'ethereum' | 'base';
/** Filter by token symbol (e.g., 'USDC') */
token?: string;
/** When true, only returns strategies compatible with gas-sponsored wallets */
supportsGasSponsorship?: boolean;
}
interface VenueListResponse {
venues: Venue[];
count: number;
strategyCount: number;
}
get
Get a specific venue by ID.Copy
async get(id: number): Promise<Venue>
Venue Type
Copy
interface Venue {
id: number;
name: string;
protocol: string;
blockchain: 'solana' | 'polygon' | 'ethereum' | 'base';
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';
/** Whether this strategy works with gas-sponsored wallets */
supportsGasSponsorship: boolean;
}