@Leon Prouger
Thegraph is a platform for indexing for Ethereum transactions and events. With thegraph you define the contracts and events you want to listen, and write a logic that creates graphql entities for there events. graph-node (thegraphq service node) will index the events and create entities from them, the entities together are called "subgraph". Then you query the subgraph's entities via graphql API the graph-node provides. You can run your own graph-node or use thegraph free service, so they index the subgraph to you, and no need to build your own infra.
With the graph we can index all data we are interested in and have access to a graphql API to query tis. More info here: https://thegraph.com/. After the data is indexed it can be access via the provided grapql API.
Entities to index
https://thegraph.com/explorer/subgraph/genie-platform/genie-graph-v2?selected=playground
https://github.com/genie-platform/genie-graph
first you need to generate the code with yarn codegen
then deploy the subgraph to a running node or to thegraph service