Subsquid Now Supports Polygon

squid Blog
Published in
3 min readDec 9, 2022


One month ago, we announced the launch of squids, indexing, and our entire ETL service platform on Ethereum and its testnets. Today, we are glad to reveal that we have expanded to Polygon. You can join the beta for both ecosystems here. Alternatively, visit this tutorial to learn how to build your first squid and this guide to deploy it to our hosted service (free plans available).

Quickstart Guide

This demo squid outputs transactions to the “black hole” address 0x0000000000000000000000000000000000000000. It is intended to be a starter project for building a custom squid that indexes the EVM log and transaction data on EVM chains. Make sure you have Node v16.x, Docker, and GNU Make installed.

> git clone
> cd squid-evm-template
> npm ci
> npm run build
> make up
> make process

Full quickstart guide available here.

Open-Source indexing and ETL SDK for next-gen dApps… now on Polygon!

Web3 has recently entered a period of transition, and a new generation of applications is starting to be developed. NFTs are quickly becoming less about funny cartoon pictures and more about powering sophisticated use cases like decentralized identity, social media, games, and supply chains. DeFi is reaching a new level of intricacy, and starting to feature things like advanced AI-powered models and ML-trained automations.

Users and developers alike are now setting higher expectations for the experiences that they have when interfacing with dApps and other blockchain-facing applications. Subsquid is building for this new paradigm, and is taking a radically different approach to indexing and ETL.

Subsquid and its open-source SDK feature modular architecture, separating the heavy lifting of on-chain data ingestion from transformation and presentation. Developers can apply their own custom logic to their ‘squids’ (node.js indexing projects), which retrieve data from squid Archives — data lakes that already contain all the data they need in a normalized format. Thanks to this architecture, and other innovations like batch ingestion, Subsquid is able to speed up indexing to as high as 50,000 blocks per second. Squids can sync hundreds of times faster than Subgraphs. Moreover, squids usually require no additional endpoints, and setup has no external dependencies.

Other dev-empowering squid features include:

  • Full control over the target database (Postgres), including custom migrations and ad-hoc queries in the handler.
  • Custom target databases and data formats (e.g. CSV, BigQuery).
  • Arbitrary code execution in the data handler.
  • Extension of the GraphQL API with arbitrary SQL.
  • Secret environment variables, allowing for seamless use of private third-party JSON-RPC endpoints and integration with external APIs.
  • API versioning and aliasing.
  • API caching

To learn more about Subsquid’s architecture, visit the documentation.
Ready to start building? Join the
beta and clone the template.
Got a Subgraph to migrate from? We’ve got a
guide for that.

Entering Polygon

As we enter the Polygon ecosystem, we would like to express our gratitude to Polygon Technologies and Polygon Studios. They have been a great help during this initial integration process. A lot is still under wraps, but we are looking forward to working together with these teams on ecosystem growth and on improving the developer experience throughout Web3.

If you are part of a project building on Polygon and would be interested in free or subsidized indexing services, you may get in touch with our growth team directly, or fill out this form to join the beta. For projects currently running a Subgraph on Polygon (or Ethereum) we have prepared this migration guide.

About Subsquid

Subsquid is the team behind squids, a new standard for Web3 data extraction and transformation. Squids already power hundreds of applications across dozens of EVM, Substrate, and WASM-based chains. With modular architecture and a host of advanced features, Subsquid offers the most resource-efficient and developer-friendly way to build, test, and deploy customized APIs and ETLs for blockchain-facing applications.

Twitter | Discord | LinkedIn | Telegram | Github | Newsletter



squid Blog

Building a better standard for Web3 indexing and ETL. Support for EVM, Substrate, and WASM chains. &