UNPKG

python-proxy-scraper-client

Version:

A TypeScript client for interacting with a Python proxy scraper service

61 lines (60 loc) 1.4 kB
export interface InsightXNode { name: string; amount: number; is_tax: boolean; address: string; is_burn: boolean; is_lock: boolean; is_pair: boolean; is_team: boolean; is_proxy: boolean; amount_usd: number; is_presale: boolean; percentage: number; is_contract: boolean; is_exchange: boolean; } export interface InsightXLink { source: number; target: number; forward: number; backward: number; } export interface InsightXTokenMetadata { address: string; symbol: string; name: string; logo: string; links?: InsightXTokenLink[]; chain_logo?: string; } export interface InsightXTokenLink { address: string; symbol: string; name: string; logo: string; links: { source: number; target: number; forward: number; backward: number; }[]; } export interface InsightXCategory { name: string; size: number; nodes: number[]; } export interface InsightXBubblemapData { chain: string; timestamp: number; nodes: InsightXNode[]; links: InsightXLink[]; token_links: InsightXTokenLink[]; token_metadata: InsightXTokenMetadata; categories: InsightXCategory[]; views: number; proxy_available: boolean; } export type InsightXBubblemapResponse = InsightXBubblemapData; export type InsightXTimestampsResponse = string[];