Skip to content

Subgraph

anggapurnajiwa edited this page Nov 26, 2021 · 1 revision

API Overview

This section explains the INFI Subgraph and how to interact with it. The INFI subgraph indexes data from the INFI contracts over time. It organizes data about Offers, Requests, Covers, Claims and more. The subgraph updates any time a transaction is made on INFI. The subgraph runs on The Graph protocol's hosted service and can be openly queried.

Resources

Mumbai Testnet

Subgraph Sandbox - sandbox for querying data and endpoints for developers.

INFI Subgraph - source code for deployed subgraph.

Usage

The subgraph provides a snapshot of the current state of INFI and also tracks historical data. It is currently used to power app.insured.finance . It is not intended to be used as a data source for structuring transactions (contracts should be referenced directly for the most reliable live data).

Making Queries

To learn more about querying a subgraph refer to The Graph's documentation.

Clone this wiki locally