Advertisement

Polygon APIs to Soon Deploy on Web3 Indexing Service The Graph

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.

ADVERTISEMENT

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.