UNPKG

python-proxy-scraper-client

Version:

A TypeScript client for interacting with a Python proxy scraper service

12 lines (11 loc) 739 B
import { BaseClient } from '../../shared/base-client'; import { GeckoTerminalTokenDetails, Pool, SimpleTokenPrice, Token, Trade } from './types'; export declare class GeckoTerminalApiClient extends BaseClient { constructor(); getTrades(chain: string, poolAddress: string, tradeVolumeInUsdGreaterThan?: number): Promise<Trade[]>; getPoolInfo(chain: string, poolAddress: string): Promise<Token[]>; getTokenPools(chain: string, tokenId: string, page?: number): Promise<Pool[]>; getTrendingPools(chain: string, page?: number): Promise<Pool[]>; getTokenPrice(chain: string, tokenAddress: string): Promise<SimpleTokenPrice>; getTokenDetails(chain: string, tokenAddress: string): Promise<GeckoTerminalTokenDetails>; }