Repository & package
Repositories are under the AlphScan organization. Packages are private on npm for now and will be public at release.Features
- Typed APIs for tokens, transactions, plans, keys, and payments
- Settings from env or code — use
ALPHSCAN_API_URL,ALPHSCAN_API_KEY, etc., or pass options toalphscan() - Raw request — call any API path with
client.request(method, path, body?) - ESM — ships as ES modules with TypeScript types
Package
Quick example
Client surface
| API | Description | Auth |
|---|---|---|
client.token | List tokens (GET /token/all) | Public |
client.plan | List API plans (GET /system/plans) | Public |
client.tx(id) | Transaction-scoped API (normalized events) | User |
client.keys | List/create API keys | Admin |
client.payment | Payment flow (request, verify, pending, history) | Admin |
client.request(method, path, body?) | Raw request for any path | Depends on path |
Next steps
Installation
Install and configure the SDK.
Client & settings
Create the client and configure API URL, key, and env.
Token API
List tokens with pagination.
Transaction API
Fetch normalized events for a transaction.
System API
Plans, keys, and payments.
Raw request
Call any endpoint with request().

