subgraph-status

Crates.iosubgraph-status
lib.rssubgraph-status
version0.1.9
created_at2025-02-27 14:06:25.923991+00
updated_at2025-09-03 11:34:23.557033+00
descriptionA Rust CLI tool to check subgraph status
homepage
repositoryhttps://github.com/shiyasmohd/subgraph-status
max_upload_size
id1571735
size70,362
Shiyas Mohammed (shiyasmohd)

documentation

README

πŸ“Š Subgraph Status

πŸ–₯️ Β CLI Application to Check Your Subgraph's Status

Crates.io Crates.io License Contributors

Prequsites πŸ› οΈ

Installation πŸ’»

cargo install subgraph-status

Usage

subgraph-status <DEPLOYMENT_ID_1> <DEPLOYMENT_ID_2> ..

Example

subgraph-status QmUfcf55AoqVs3zuyfu9TwYh8G4LxRnY5DpxjVCea3RSWe

To fetch status from local graph-node

subgraph-status <DEPLOYMENT_ID> --local

How to fetch details from a specific indexer ❓

  1. Visit the Graph Network Arbitrum Subgraph.

  2. Execute the following query with the desired indexer address:

    {
      indexer(id: "INDEXER_ADDRESS") {
        url
      }
    }
    
  3. Set the resulting URL as an environment variable:

    export SUBGRAPH_STATUS_URL="resulting_url"
    
  4. You're all set! The package will now fetch the status from the specified indexer.

How to run locally ❓

  1. Clone repository & change directory
git clone https://github.com/Shiyasmohd/subgraph-status.git
cd subgraph-status
  1. Copy Deployment ID of the Subgraph (Starts with Qm..)

  2. Run Program

cargo run <DEPLOYMENT_ID>

Example Command

cargo run QmUfcf55AoqVs3zuyfu9TwYh8G4LxRnY5DpxjVCea3RSWe
Commit count: 55

cargo fmt