@0xobedient/dexscreener-sdk
Version:
**@0xobedient-DexScreener-SDK**
21 lines • 733 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLatestTokenProfiles = getLatestTokenProfiles;
const axios_1 = __importDefault(require("axios"));
const shared_1 = require("../shared");
async function getLatestTokenProfiles() {
const client = axios_1.default.create({
baseURL: shared_1.BASE_ENDPOINT,
});
try {
const response = await client.get(shared_1.API_ROUTER.GET_LATEST_TOKEN_PROFILES);
return response.data;
}
catch (error) {
throw error;
}
}
//# sourceMappingURL=getLatestTokenProfiles.js.map