fetch) and browsers. It ships as ESM and CJS with complete TypeScript types and zero required runtime dependencies.
Where it’s available
- npm: @blockdb/sdk
- Source (open source): github.com/blockdb-io/blockdb-js-api-sdk
Installation
Quick example
Prices example
Pagination
Every endpoint returns acursor 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 anAbortSignal via the optional second options argument: