bounce-sdk-beta
Version:
Bounce finance quick building applications
28 lines (27 loc) • 784 B
TypeScript
import { PoolType, SupportChain } from "../types";
export declare class BounceClient {
private axios;
private chainId;
constructor(chainId: SupportChain);
getPools<T>(options?: {
offset?: number;
limit?: number;
category?: 1;
creatorAddress?: string;
creatorName?: string;
orderBy?: "openTs";
poolId?: string;
poolName?: string;
poolStatusFrontend?: null;
token0Address?: string;
}): Promise<T>;
getProfile<T>(params: {
userId: number;
}): Promise<T>;
getInvest<T>(params: {
limit: number;
offset: number;
userId: number;
}): Promise<T>;
getPoolDetail(poolType: PoolType, poolId: number, chainId: SupportChain): Promise<unknown>;
}