1
Install
2
Create a client
Optional configuration
Mocking in tests — pass a stubbed fetch that returns predefined payloads. All methods
pipe through the injected fetch before validation.
3
Verify connectivity
HttpError for API
failures and Error("Network error: …") for connectivity issues.4
Make your first requests
5
Next steps
Data API
Explore positions, trades, activity, holders, and value endpoints.
Gamma API
Discover search, comments, series, markets, and events modules.