UNPKG

dexscreener-sdk

Version:

A TypeScript wrapper for the DEX Screener API, providing easy access to token profiles, boosts, orders, pairs, and more.

31 lines (30 loc) 947 B
import { BaseModel } from './BaseModel.js'; import { ILink } from './TokenProfile.js'; /** * TokenBoost represents boost data for a token. */ export declare class TokenBoost extends BaseModel { /** URL to the token's DEX Screener page. */ url: string; /** Blockchain network identifier. */ chainId: string; /** The unique token address. */ tokenAddress: string; /** The current boost amount. */ amount: number; /** The cumulative boost amount. */ totalAmount: number; /** URL to the token icon image. */ icon: string; /** URL to a header image. */ header: string; /** A description of the token boost. */ description: string; /** An array of related links. */ links: ILink[]; /** * Creates an instance of TokenBoost. * @param data Partial data to initialize the token boost. */ constructor(data: Partial<TokenBoost>); }