Skip to content

About

Blobscan's indexer rewritten in Rust.

Topics

Resources

Stars

46 stars

Watchers

3 watching

Forks

Repository files navigation

Blobscan indexer

The indexer for the Blobscan explorer implemented in Rust.

Installation and usage

Check out our documentation website.

./blob-indexer --help
Blobscan's indexer for blob transactions (EIP-4844).

Usage: blob-indexer [OPTIONS]

Options:
  -f, --from-slot <FROM_SLOT>
          Slot to start indexing from
  -t, --to-slot <TO_SLOT>
          Slot to stop indexing at
  -n, --num-threads <NUM_THREADS>
          Number of threads used for parallel indexing
  -s, --slots-per-save <SLOTS_PER_SAVE>
          Amount of slots to be processed before saving latest slot in the database
  -c, --disable-sync-checkpoint-save
          Disable slot checkpoint saving when syncing
  -d, --disable-sync-historical
          Disable backfill indexing thread
  -h, --help
          Print help
  -V, --version
          Print version

Sponsors

We extend our gratitude to each one of them. Thank you 🙏

paradigm logo         optimism         context logo         context logo

Join us on Discord!

Transaction execution fees

The indexer requests execution receipts for blob transactions and sends gasUsed, effectiveGasPrice, transaction input, and executionStatus to Blobscan. Execution status is success for receipt status 0x1 and failed for 0x0. A missing or invalid status fails the block attempt. It also sends the block's baseFeePerGas. Gas quantities use hexadecimal strings. The existing gasPrice field keeps its current meaning.

Receipt requests have a 16-second timeout and a limit of four concurrent requests per block. A missing receipt is tried up to five times, with a 500-millisecond delay. A missing required field or an inconsistent receipt fails the block attempt. Failed transaction execution does not remove its fees.

Deploy the Blobscan database migration and compatible ingestion API before this indexer version. Historical records can be updated with the monorepo's RPC backfill command without downloading blobs again.

About

Blobscan's indexer rewritten in Rust.

Topics

Resources

Stars

46 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages