export type PoolSortBy = "tvl"; export enum PoolType { AMM = "AMM", CLMM = "CLMM", STABLE = "STABLE", } export interface GetPoolsParams { page?: number; size?: number; sortBy?: PoolSortBy; type?: PoolType; } export interface PoolToken { addr: string; amount: string; img: string; reserve: string; symbol: string; verified: boolean; } export interface GetPools { apr: string; createdAt: string; fee: string; feeTier: string; poolId: string; poolType: PoolType; tokens: PoolToken[]; tvl: string; txns: number; volume: string; volumeData: { volume24h: string; volume30d: string; volume7d: string; volumeprev24h: string; }; volumePercentage24h: string; volumePercentage30d: string; volumePercentage7d: string; } export interface PoolInfo { feeTier: string; poolId: string; poolType: PoolType; sqrtPrice: string; tickSpacing: number; tokens: { addr: string; decimals: number; reserve: number; ticker: string; verified: boolean; }[]; totalShare: string; }