UNPKG

python-proxy-scraper-client

Version:

A TypeScript client for interacting with a Python proxy scraper service

116 lines (115 loc) 2.97 kB
export interface TokenSecurityResponse { code: number; message: string; result: { [tokenAddress: string]: GoPlusTokenSecurity; }; } export interface GoPlusTokenSecurity { token_name: string; token_symbol: string; total_supply: string; owner_address: string; owner_balance: string; owner_change_balance: string; owner_percent: string; personal_slippage_modifiable: string; selfdestruct: string; sell_tax: string; slippage_modifiable: string; trading_cooldown: string; transfer_pausable: string; trust_list: string; lp_total_supply: string; holder_list: Array<{ address: string; tag: string; value: string; is_contract: number; balance: string; percent: string; NFT_list?: Array<{ value: string; NFT_id: string; amount: string; in_effect: string; NFT_percentage: string; }>; is_locked: number; }>; } export interface GoPlusSolanaTokenSecurityResponse { code: number; message: string; result: { [tokenAddress: string]: GoPlusSolanaTokenSecurity; }; } export interface GoPlusAuthorityStatus { authority: Array<{ address?: string; malicious_address?: number; }>; status: string; } export interface GoPlusDexTimeframe { price_max: string; price_min: string; volume: string; } export interface GoPlusDexInfo { day: GoPlusDexTimeframe; dex_name: string; fee_rate: string; id: string; lp_amount: string | null; month: GoPlusDexTimeframe; open_time: string; price: string; tvl: string; type: string; week: GoPlusDexTimeframe; } export interface GoPlusHolder { account: string; balance: string; is_locked: number; locked_detail: any[]; percent: string; tag: string; token_account: string; } export interface GoPlusSecurityMetadata { description: string; name: string; symbol: string; uri: string; } export interface GoPlusSolanaTokenSecurity { balance_mutable_authority: GoPlusAuthorityStatus; closable: GoPlusAuthorityStatus; creators: any[]; default_account_state: string; default_account_state_upgradable: GoPlusAuthorityStatus; dex: GoPlusDexInfo[]; freezable: GoPlusAuthorityStatus; holder_count: string; holders: GoPlusHolder[]; lp_holders: any[]; metadata: GoPlusSecurityMetadata; metadata_mutable: { metadata_upgrade_authority: Array<{ address: string; malicious_address: number; }>; status: string; }; mintable: GoPlusAuthorityStatus; non_transferable: string; total_supply: string; transfer_fee: Record<string, never>; transfer_fee_upgradable: GoPlusAuthorityStatus; transfer_hook: any[]; transfer_hook_upgradable: GoPlusAuthorityStatus; trusted_token: number; }