dexscreener-sdk
Version:
A TypeScript wrapper for the DEX Screener API, providing easy access to token profiles, boosts, orders, pairs, and more.
18 lines (17 loc) • 578 B
TypeScript
/**
* BaseModel serves as the base class for all models.
* It initializes the model with given data and provides a method to convert
* the model instance to a plain JavaScript object.
*/
export declare class BaseModel {
/**
* Constructs a new instance of BaseModel.
* @param data Partial data to initialize the model.
*/
constructor(data?: Partial<BaseModel>);
/**
* Converts the model instance into a plain object.
* @returns A plain object representation of the model.
*/
toJSON(): Record<string, unknown>;
}