Adding Entities to Existing Subgraphs
Traditionally, subgraphs are immutable once they are deployed to the network. This means that any changes to the schema or mappings require a new subgraph deployment that starts from block 0.
In SendBlocks subgraphs, mappings are dynamic by design, allowing you to adjust their behavior at anytime. Moreover, you can add new entities to your existing subgraph without the need to redeploy the entire subgraph!
This is done by using the Add Entity
API on existing schemas. Once the new entity is added, users can use the Replay Blocks
feature to re-index the additional data, a process that is much faster than deploying a new subgraph.
Updated 18 days ago