Share this article

Polygon APIs to Soon Deploy on Web3 Indexing Service The Graph

The Graph is a decentralized protocol for indexing and querying data from blockchains, starting with Ethereum. It makes it possible to query data that is difficult to query directly.

Updated Dec 1, 2022, 3:57 p.m. Published Dec 1, 2022, 1:11 p.m. 2 min read
Polygon APIs will soon be available on The Graph. (Aquaryus15/Unsplash)

Indexing service The Graph will soon add support for the Polygon blockchain.

Polygon-based applications can soon run on fully decentralized application programming interface (API) run on The Graph, away from the current hosting service.

Joining Web3 The Graph Network will allow Polygon developers to find the data they need to improve the efficiency of their dapps, according to a Thursday post. Polygon node operators can play a role by becoming indexers for Polygon to serve the decentralized applications (dapps) running on the network. Indexers earn rewards and query fees for the subgraphs they serve.

An API is a way for two or more computer programs to communicate with each other. The Graph’s hosting service allowed dapps to index and query user data from multiple blockchains, regardless of the network they were based on.

Projects with complex smart contracts like Uniswap store data on the Ethereum blockchain, making it very difficult to read anything other than basic data directly from the blockchain. This meant developers could face complexities or delays in querying data from other dapps for use in their own products.

Services like The Graph solve this infrastructural problem by indexing blockchain data through the creation of "subgraphs,” which function similarly to an API and can be queried with a standard GraphQL API, an open-source data query computer language for APIs.

Polygon is the second-biggest supported chain by usage after Ethereum and followed by Gnosis.

The integration of Polygon is part of a broader plan to cease The Graph’s hosted service, which now supports 39 networks, in favor of The Graph’s bespoke decentralized network Gnosis.

Polygon's MATIC token was recently trading above $.09 cents, up more than 5% gain over the past 24 hours.

UPDATE (Dec. 1, 2022, 15:57 UTC): Adds MATIC price.


More For You

XRP News

A draft XRPL amendment notes that flash loan attacks are "structurally impossible" on the network because of how its transactions are built, an architectural quirk that has spared the chain from the exploit class that has cost Ethereum DeFi billions.

What to know:

  • Recent DeFi exploits on protocols like Thorchain, Drift and KelpDAO have relied on flash loans, a mechanism that does not exist on the XRP Ledger.
  • Because XRPL transactions are atomic and cannot include composable intra-transaction calls, flash loan attacks are structurally impossible on the network.
  • As XRPL pursues AMM upgrades...