The BlockDB JavaScript/TypeScript SDK supports Node ≥ 18 (native fetch) and browsers. It ships as ESM and CJS with complete TypeScript types and zero required runtime dependencies.
Where it’s available
Installation
Quick example
Prices example
Every endpoint returns a cursor field. Pass it back to fetch the next page, or use the built-in paginate* async generators to iterate all pages automatically.
Cancellation
Every request accepts an AbortSignal via the optional second options argument:
Configuration reference
Last modified on April 22, 2026