📥Using TheGraph
TheGraph indexes data from the smart contracts to facilitate easier access. You can use it to understand what happens live during this guide.
Last updated
TheGraph indexes data from the smart contracts to facilitate easier access. You can use it to understand what happens live during this guide.
Last updated
To gain access to TheGraph, contact Kiln and you will receive credentials to Kiln's TheGraph instance. Feel free to also host the subgraph on your end, allowing you to run the queries locally. During this guide, we will often use TheGraph queries to verify that specific actions had the expected outcome.
The easiest way to interact with TheGraph is by visiting the web query builder.
To test it, you can try a simple query to retrieve all the deposits made by an address on an integration contract (Native20,Liquid20A or Liquid20C):
And if everything goes well, you should have a response looking like this if the wallet made some deposits.
You're now ready to follow the guide and run the queries when needed !