eth-rpc-cache

JSON →
library 2.1.0 ·javascript
verified Jun 7, 2026

A simple cache for Ethereum RPC requests that wraps provider.send() with caching strategies. Version 2.1.0 is the latest stable release, with no breaking changes in the 2.x line. It supports extensible caching strategies (default: per-block and permanent), optional custom cache store, and strict mode to allow or disallow unknown RPC methods. Ships TypeScript types. Requires Node >=18.