
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@stiacs/dextools-api
Advanced tools
A simple Node.js library for DEXTools's API V2 with network selection, promise operations and optional requests logging.
DEXTools-api is a nodejs module for DEXTools.io API v1 (use version 1.x) and v2 (use version 2.x). This library provides support for many blockchains with promise support for smooth integration into your NodeJs project.
🌟 Key Features:
npm i dextools-api
const DEXToolsApi = require('dextools-api');
// Create an instance of DEXtoolsApi with your API key
const apiClient = new DEXToolsApi(apiKey);
// or with logging enabled
// const apiClient = new DEXToolsApi(apiKey, true);
// Get information about the DEXT/WETH pair using its address
try {
const poolInformation = await apiClient.getPool('ether', '0xa43fe16908251ee70ef74718545e4fe6c5ccec9f');
console.log('PEPE/WETH pool information:\n');
console.log(JSON.stringify(poolInformation, null, 2));
} catch (error) {
console.error(`Error fetching pool information: ${error}`);
}
// Chain list to be used with DEXToolsApi
try {
const chains = await apiClient.getChainList();
console.log('Chain list:\n');
console.log(JSON.stringify(chains, null, 2));
} catch (error) {
console.error('Error fetching chain list', error);
}
More examples can be found in tests.js
Contributions are welcome! Feel free to fork the repository and submit pull requests as well.
This project is licensed under the MIT license.
Feel free to contact me for any project-related queries or collaborations. I'd be happy to discuss ideas!
FAQs
A simple Node.js library for DEXTools's API V2 with network selection, promise operations and optional requests logging.
We found that @stiacs/dextools-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.