Requirements
- Node.js 18 or later
- An API key from developers.webacy.co
Install the Package
Module Support
The SDK supports both ESM and CommonJS:Initialize a Client
ThreatClient
For security analysis (addresses, contracts, sanctions, URLs):TradingClient
For trading analysis (holder analysis, sniper detection):Configuration Options
Both clients accept the same configuration options:Default Chain
Set a default chain to avoid specifying it on every request:Debug Mode
Enable logging to troubleshoot issues:Individual Packages
If you only need specific functionality, install individual packages to reduce bundle size:TypeScript Configuration
The SDK is written in TypeScript and includes type definitions. For the best experience, ensure yourtsconfig.json includes:
Next Steps
ThreatClient
Analyze addresses, contracts, and URLs
TradingClient
Holder analysis and trading insights
