A TypeScript client library for communicating with the Verto Cache System, providing methods to fetch contract states, user balances, and collection data from the Verto blockchain indexing service. Current version 1.2.6 is stable with no regular release cadence. It is designed specifically for the Verto ecosystem (Arweave-based) and differs from general-purpose blockchain indexers by being tightly coupled to Verto's cache API and data structures. Ships TypeScript definitions.
npm install verto-cache-interfaceNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to import and use fetchContract, fetchBalanceByUserAddress, and fetchBalancesForAddress to interact with Verto Cache System.
Wrap calls in try/catch and consider using Promise.race with a timeout.
Update to v1.0.0 or later and adjust calls to pass third argument if needed.
Implement your own caching and debouncing.
Ensure contractId is correct and set dontThrow to false (or leave default) to get a thrown error instead of undefined.
Check the contract ID for typos or verify it exists on the Verto network.
No dependency data recorded yet.