Why Use the SDK?
Type Safety
Full TypeScript support with complete type definitions for all requests and responses
Multi-Chain
Built-in support for 12 blockchains with type-safe Chain enum
Error Handling
Structured error classes with recovery suggestions
Retry Logic
Automatic retries with exponential backoff for transient failures
Packages
The SDK is organized as a monorepo with focused packages:| Package | Description |
|---|---|
@webacy-xyz/sdk | Unified SDK that re-exports all packages |
@webacy-xyz/sdk-core | Core utilities: HTTP client, errors, Chain enum |
@webacy-xyz/sdk-threat | Threat analysis: addresses, contracts, sanctions, URLs |
@webacy-xyz/sdk-trading | Trading analysis: holder analysis, sniper detection |
Quick Example
Supported Chains
The SDK supports all 12 blockchains available in the Webacy API:Next Steps
Installation
Install the SDK in your project
ThreatClient
Analyze addresses, contracts, and URLs
TradingClient
Holder analysis and sniper detection
Error Handling
Handle errors gracefully
