Indexing a Factory Contract using Unmarshal Parser

A Quick Guide

1. Index the factory like you would for any other contract

Polygon and the address of the factory
Event and Function Selection Page
1. PairCreated is picked. 2. pair is the column picked
The ABI is loaded in automatically for verified contracts
Pick the events you want

Price

There are a multitude of applications where tracking the price of a token is essential. Consider one of the most popular use cases for the factory pattern in Web3: A Dex. With the price plugin, the Parser allows you to track historical prices for all tokens involved. Stay tuned for our case study into Uniswap and how you can index it with Price details.

About Unmarshal

Unmarshal is a Multi-chain Web 3.0 data network aiming to deliver granular, reliable & real-time data to dApps, DeFi protocols, NFTs, Metaverse and GameFi solutions. Unmarshal provides the easiest way to query Blockchain data from Ethereum, Polygon, BNB Chain, Avalanche, Fantom, Celo, Solana, Klaytn, Kadena, Arbitrum, and XDC Network. Unmarshal network consists of data indexers and transforming tools to power Web 3.0 applications on any chain while providing a latent view of transformed data.

--

--

Blockchain data indexer and api provider

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store