Rugcheck Object

Rugcheck Class Documentation

The Rugcheck class provides integration with the Rugcheck.xyz API to fetch token summary reports. It authenticates using a Solana wallet and retrieves data about specific tokens, helping you assess the safety and reliability of tokens.

Methods


getSummary

Description

Fetches a summary report for a specified token mint address from the Rugcheck API.

Signature

public async getSummary(mint: string): Promise<string>

Parameters

  • mint (string): The mint address of the token to fetch the summary for.

Returns

  • Promise<string>: The summary report of the specified token.

Example Usage


const summary = await rugcheck.getSummary("TokenMintAddress123");
console.log("Token Summary:", summary);

Last updated