python-proxy-scraper-client
Version:
A TypeScript client for interacting with a Python proxy scraper service
18 lines (17 loc) • 1.84 kB
TypeScript
import { BaseClient } from "../../shared/base-client";
import { AxiomDevTokensResponse, AxiomHolderDataResponse, AxiomMemeTrendingResponse, AxiomPairChartResponse, AxiomPairInfoResponse, AxiomPairStatsResponse, AxiomTokenAnalysisResponse, AxiomTokenInfoResponse, AxiomTopTradersResponse, AxiomTransactionsResponse, AxiomPortfolioResponse, AxiomSearchResponse, PairChartInterval } from "./types";
export declare class AxiomClient extends BaseClient {
constructor();
getPairData(pairAddress: string, userWalletAddress?: string): Promise<AxiomPairInfoResponse>;
getMemeTrending(timePeriod?: string): Promise<AxiomMemeTrendingResponse>;
getTopTraders(pairAddress: string, onlyTrackedWallets?: boolean): Promise<AxiomTopTradersResponse>;
getTransactionsFromTraders(traders: string[], pairAddress: string): Promise<AxiomTransactionsResponse>;
getTokenInfo(pairAddress: string): Promise<AxiomTokenInfoResponse>;
getDevTokensV2(devAddress: string): Promise<AxiomDevTokensResponse>;
getTokenAnalysis(devAddress: string, tokenTicker: string): Promise<AxiomTokenAnalysisResponse>;
getPairStats(pairAddress: string): Promise<AxiomPairStatsResponse>;
getPairChart(pairAddress: string, fromTimestamp: number, toTimestamp: number, openTrading: number, lastTransactionTime: number, countBars: number, currency?: string, interval?: PairChartInterval, showOutliers?: boolean, isNew?: boolean): Promise<AxiomPairChartResponse>;
getHolderData(pairAddress: string, onlyTrackedWallets?: boolean): Promise<AxiomHolderDataResponse>;
getPortfolio(walletAddress: string, isOtherWallet?: boolean, totalSolBalance?: number, tokenAddressToAmountMap?: Record<string, number>): Promise<AxiomPortfolioResponse>;
getSearchResults(searchQuery: string, isOg?: boolean, isPumpOnly?: boolean): Promise<AxiomSearchResponse>;
}