UNPKG

dexscreener-sdk

Version:

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

16 lines (15 loc) 457 B
/** * Demo script showing how to use the DEX Screener SDK * This example demonstrates fetching and displaying token profiles */ import { getLatestTokenProfiles } from '../src/index.js'; async function runDemo() { try { const profiles = await getLatestTokenProfiles(); console.log('Token Profiles:', profiles); } catch (error) { console.error('Error fetching token profiles:', error); } } runDemo();