Skip to main content
Added graph-cli to the question title and new tags
Link

How to get the subgraph hash once compiled and deployed using graph-cli?

Source Link

How to get the subgraph hash once compiled and deployed?

I have a graph-node running in a EC2 instance. The subgraph has been compiled, created and deployed already and it is running with no issues.

I want to query its status by running the following command:

{ indexingStatuses(subgraphs:["subgraph_hash"])
  { 
    subgraph 
  } 
}

How do I get the subgraph_hash once it's been deployed?