Align SDK
The unofficial TypeScript/JavaScript SDK for the AlignLab API. Build production-ready payment infrastructure with comprehensive type safety, validation, and error handling.Why Align SDK?
Type-Safe
Full TypeScript support with comprehensive type definitions. Catch errors at
compile time, not runtime.
Validated Requests
Built-in request validation with Zod schemas. Invalid data is caught before
hitting the API.
Secure Webhooks
HMAC-SHA256 webhook signature verification out of the box. Prevent replay
attacks and tampering.
Automatic Retry
Built-in retry mechanism with exponential backoff for transient network
errors.
What Can You Build?
Fiat-to-Crypto Onramps
Fiat-to-Crypto Onramps
Allow users to purchase cryptocurrency with fiat currency. Support for ACH, wire transfers, SEPA, and more.
Crypto-to-Fiat Offramps
Crypto-to-Fiat Offramps
Enable users to convert cryptocurrency back to fiat currency and withdraw to their bank accounts.
Cross-Chain Transfers
Cross-Chain Transfers
Move assets seamlessly between different blockchain networks.
Virtual Bank Accounts
Virtual Bank Accounts
Create dedicated virtual bank accounts for seamless fiat deposits.
Supported Networks & Tokens
- Blockchain Networks
- Stablecoins
- Fiat Currencies
| Network | Chain ID | Status |
|---|---|---|
| Ethereum | 1 | Mainnet |
| Polygon | 137 | Mainnet |
| Base | 8453 | Mainnet |
| Arbitrum | 42161 | Mainnet |
| Solana | - | Mainnet |
| Tron | - | Mainnet |