Querying Blockchain Data with GraphQL from a Web Application with URQL and The Graph

Instructornader dabit

Share this video with your friends

Send Tweet

In this video, you'll learn how to query blockchain data from a subgraph in a React application. We'll first give a brief overview of a couple of GraphQL clients, and various ways in which you can query The Graph. Next, we'll create a new React application, install the necessary dependencies, and implement a basic GraphQL query that will render NFT data from the Ethereum blockchain in a React app.

To learn how to build a subgraph, check out this blog post: https://thegraph.com/blog/building-with-subgraph-studio

The code for this app is located here: https://gist.github.com/dabit3/a4a0303a11e930465c591eec2f79167e