Using NPM packages

Apibara indexers are powered by the Deno Javascript runtime, this makes them incredibly fast and self-contained.

Indexers dependencies are loaded from external CDNs like:

You can read more about managing dependencies on the official Deno documentation.


The following script loads common utilities from Starknet.js and Viem.

import { hash, uint256 } from "";
import { formatUnits } from "";
Last modified
Edit on GitHub

Apibara is the fastest platform to build production-grade indexers that connect onchain data to web2 services.

© 2024 GNC Labs Limited. All rights reserved.