Proposed by:
Requested amount:
49.88K DOT≈$229,448

#15 · Subsquid - Public data indexing Infrastructure for Polkadot and Kusama (Q1 2023)

**Proponent:** [Subsquid Lab Official](https://polkadot.subscan.io/account/13bfKSQXoBn3AMLtZaW6BKv797fqZzsD3PYF6xpJDir3tdoE) - 13bfKSQXoBn3AMLtZaW6BKv797fqZzsD3PYF6xpJDir3tdoE **Beneficiary:** [Subsquid Lab Official](https://polkadot.subscan.io/account/13bfKSQXoBn3AMLtZaW6BKv797fqZzsD3PYF6xpJDir3tdoE) - 13bfKSQXoBn3AMLtZaW6BKv797fqZzsD3PYF6xpJDir3tdoE **Contact Details:** Subsquid Labs GmbH, 6302 Zug, Switzerland - [email protected] **Short description:** Ongoing development and maintenance costs for public Subsquid Archives and the Giant Squid API **Archive raw data:** [Archive Infrastructure Metrics - January, February, March](https://docs.google.com/spreadsheets/d/e/2PACX-1vRW2UJeY6qR2RiCFfBZ70EZ3i45sc03kizxwgXrJdIqfkn6ygDkRDVNElXmzP3bK9ENB5weUyFM9pvP/pubhtml) **Giant Squid raw data:** [Giant Squid Infrastructure Metrics - January, February, March](https://docs.google.com/spreadsheets/d/e/2PACX-1vRrG2wW7XXcsfgY-AGp-luHvhu5H-uQWd7xcli84celv42g9SctqA6JOMdZOYJCf\_3hBvh3VFIf\_GfG/pubhtml) **Requested DOT:** 37196.65 DOT + 12683.35 DOT **= 49880.0 DOT = $ 224,460.03** **Previous proposals:** https://kusama.subsquare.io/treasury/proposal/280 ### Motivation **A) Archives** Archives are an important piece of Polkadot and Kusama data infrastructure provided by Subsquid. They provide access to on-chain data in GraphQL format for all major parachains on Kusama and Polkadot, with more chains getting support as the ecosystem grows. They are being used as a data source for [Squids](https://app.subsquid.io/squids) and for efficient data exploration and ad-hoc queries. An up-to-date list of Archives is kept in a public [Archive Registry](https://github.com/subsquid/archive-registry/blob/main/archives.json). All archives can be accessed and queried via an web intuitive GraphiQL interface and are often used as developer friendly replacement of a block explorer. For example, here’s a query for the last ten transfers on Kusama blockchain run against the [Kusama Archive endpoint](https://kusama.explorer.subsquid.io/graphql). ![](https://lh3.googleusercontent.com/u/0/docs/ADP-6oF28QRWrAQx4x6nJNPA\_fSg4c73ukxfq-ATwlJOaeMkFcveUEN3abJyXlkg0M5tgxMSU9\_hY00ovl7JB0PIaZV25wlpNy9QiYTah8HYt1QcfnmUiLPz61vWbAjWe6yEsIrl\_dVS68yi\_skDsIhpTHtk0NqWhZ2HakawVgzv13cB0Zz2GFF1uD4WduGKh1cT71w21kf8XhbV9NU8bYkYjJht4UPz5CEmrc-J8V-1g6zjdMK0TWcbRtZE469tyZurbsR6hrxtz3AgcT-yBnIaFSR1RjuDt9cU4ON1EuhAYFfbt\_hxKS5eJAmkJnoRN9b98lm3z-ENAW4F4lGD4eaefmLjW0Ni96jVwyx2-0qpj\_FCU8M4Jv-ADArSOogQU6E4WMjJ0IXO0G0wvqcpJritTjnVfaMg1BWVP4coevffowL396wjU7-php3xXPT1cYJHRi9hob4LQQUYXeBz\_oGA2mcZ-VTw8fonH\_Q5H3MWRqaaPttS618JzrkVaeEGScCMF9qJ5tMwBeMFQ9rcG9njN1frHKgaco97oSsZsSygw-OsuCAyBta90ZmHWeHo3ZJqtRNBdE33rEzJlBvlVo4uCVbMnjE\_64s5bz2-OQczY8bEdjD6v7g4awrLXZXwx1zdRnHkc5TZsnG65LhbYXzLus-n-drRCSuk-67GihaJrMul5IoKRgHaUJekuQVaFNnL4YhKAGOotb7tvvNCLdDtpfnwZdg\_bhGrALNf8b4hGBfJL1\_cHPeTeKj2IrsCBVz1cm7EQp6fx5VTXD3oJnwLkx09vmauHqlftCgqfzYjSvL5E2yWRHI5NZa5igjdV9UNPUvj\_LB4-NvVx\_RCofmUNjC62qj8AUYJH8z7RhIvGmpvpdesVlFgFqlB-VMhPd8emdb6l1089w7jrc3bODqhQuNtEbM) Over first Quarter of 2023 we've provided a free public data indexing service for ~94 Substrate blockchains (some archives have been dismissed, new ones have been added), so that everyone interested in the projects can publicly access indexed data on Substrate Events, Extrinsics, Storage Items and EVM logs. Here are projects (parachains and mainnets aiming for future parachains slots) we currently support: - kusama - polkadot - moonbase - gemini_2a_testnet - rococo - khala - astar - moonriver - crust - moonbeam - karura - equilibrium - shiden - kilt - bifrost - statemine - aleph_zero - heiko - acala - robonomics - aleph_zero_testnet - calamari - kintsugi - parallel - shibuya - phala - sora - basilisk - statemint - interlay - litmus - origin_trail - bitcountry_pioneer - integritee - clover - picasso - altair - bifrost_polkadot - centrifuge - hydradx - subsocial - efinity - tanganika - t0rn - cere - litentry - composable - bajun - invarch_tinkernet - amplitude - imbue - foucoco - phala - dorafactory - pichiu - kabocha - darwinia - gmordie - snow - frequency_testnet - peaq - elysium_testnet - gear_testnet - reef - collectives - frequency - pangolin - myriad - elysium - ternoa - soonsocial - crab - myriad_testnet - polkadex - kylin - reef_testnet - tidechain - pendulum - hashed - joystream - gear_testnet - darwinia_2 - mangata_x - mangata - polymesh - nodle - reef_testnet - automata - lagoon - crust_shadow - agung - kico - gemini_3a_testnet - mars **B) Giant Squid** Giant Squid is a set of open-source GraphQL APIs built with Squid SDK and maintained by Subsquid Labs. The APIs cover the most commonly used data for Pokadot, Kusama and a growing list of major parachains and is used by explorers (such as [Calamar](https://calamar.app/)) and wallets (e.g. [SubWallet](https://www.subwallet.app/)). The Giant Squid currently consists of two families of endpoints outlined below. The API endpoints for each network and the current status are available at the [Status page](https://docs.subsquid.io/giant-squid-api/statuses/). **Explorer API. The endpoint URLs follow the convention https://squid.subsquid.io/gs-explorer-${network}/graphql. Support queries on:** - Blocks - Events - Extrinsics - Calls **Statistics API. The endpoint URLs follow the convention https://squid.subsquid.io/gs-stats-${network}/graphql. Support queries on:** - Validator/Collator data - Account balances - Staking statistics - Nomination pools statistics - Transfers statistics - Extrinsic statistics ### Achievements - Launched Giant Squid as a public API service for the community to explore relay and parachain statistics - Powering ≈ 360 projects in Q1 2023 ( ≈ 500 as of May 2023) including substrate and evm - Deployed new archives, expanding the list of available networks to 95 (increasing by 200%) ### Statistics and data ![](https://lh3.googleusercontent.com/u/0/docs/ADP-6oE4gjNTMvIJzUcwpsoOS3QhjQOo83ctejXjAysetgejrg1lhMFTJg83864WWJ2El1LC1quSf3qiGLkLTacFV4DksQDzwPOspS8WX-EUrHYfFLrdnmyO1l3n9GoE0ODP1X79e9sKjWOZceqGCrv1P8qyA0Ck7UhCyhRYe0zo0OPCytDffBHmjJywd8t\_v8eR5WGw6CC1mo72GC64CY-FolQyFJjTCg8lHTRcwkvDGOqeJy4Zy2n8IdFusb2Ihmp4rALBxWcYbTwIBQZpJkVUvbga6MRIMZq6gABzVuYYki1vwQvHiOltaYJ9Kn\_Kcp2GVdEXkEASyfrVpzqaIv2q5w1Y1\_3ucUC49n9GeSMcMDVvNcC8tZsbq\_xGK8gnKQq02hYaqxUD9KOKGKH8n9GltLdvn-8fij-SmC-jPUlUpy9kwr3TGUrXGU7FMelL3qVYYFCmDQ0J-keg7\_Hll4UDg3mn0lMhK5AdY6KkNmV-9DUe8fGcoD\_wJebDLsMlM0IbNgDmgpuO7GUWqyXiQ\_adbcVoUnnlq9s1ZoHsFVCJvhugIF\_kQWIDXDToFG7rRsgv-9fj6vVxUdxY1peBWpYHi-F6zUxynuxDh71L9K3xN-yKzurJBgwdpYvxal4WKKPrtuQZF5P2QCswlfVjAsQFx3BFNfT2G6fGA-pu-AarMDovEYy0lZzrN1TxCDeV3gyUoNDDF16VmTLCoe5XpHxM9-6Z7whEoKYg0BiQfCPgksZwdhKqZg3ICTank0XoGoHZ29dRupaDdxPURzA9fRsgfbh4Pe2J1VVA\_1kMIbwmL9HhIo5mpeFSg3vsYVHrsH56qN08-VTUJmdDXJUFRPvcCG-mlH0h94Ez5Rfk\_-a0Gr0ly-Q1cUK4AX5SrQzkW2f675xXaEIdO8bphdIJ5Cwz1Oya\_do) ![](https://lh3.googleusercontent.com/u/0/docs/ADP-6oHcKHUirSow9ztILPzv7zpT4gfUbiCQkm4lhyF2D4rkv6n17Y1MpD2vgyZFkkm0ABoW50bnxvIzjcozdsEOsq931QV6ZU3v3xk78-EbjH9N58kcgjAFBfQw2ZH5KljU6mU1e4tOTgV-BYq6mbmCTAvpQBnAz9gFKz9HVNwufXEMfo9NWxAv3jCd86AlxC65ZSV-nVBkxc7oypDMXBTCTu92bNJwIeBYvnEIbrL2GDoehA6QqNtuELOfcEh0qDIVmaKC\_6jPojGEf4SAL6x8gPleUPxzKuF4OEhmRFUSVJQ0nKKnz85GO4D5aDa1\_m9TaHsBPduI6acO8BNTn3dO8sTsKxVUmp3PLs\_XDr4GR-OfGNFRUcSYoFUWwWit9wXGFhFRoRKZTOFSmIcPuQ6OgxB4iX6-C6dKvHiU5DAxbQT6Wold-LuxkImXqNIH9DqmS9VihqE3lhghVYq3EtYoZlx\_M6uuEqVIegDKLv9lk6tzMptw0cVyypXCtts-l0Rd9lnFNF493PhBcuzOo3Pqge0tI27B00K-bX9fMGcJ21EHkZo139IxsUYn8n5T9yXiUGARQVCg55Xt5X9tIwPEcc2OPj1QEsWEGp4yY59qm33-x9lkFE918FkceS-aZee5p-s6VL88\_J-1APszBWHtFYg55S8-UAfWKYlhXpQ8Y26ZL3WEoNUFUv-UQpPJ65hwfjbdc4K6\_vyQ\_VYMAEdgLV3u9G2wkTyQTs005dbWGGYxBFI7ga-eTohLmQ3E0iBTYsyOG6YMOWVsyz8U3IQWKCZ3x\_lO8GBcjX37qvLhgZ1sjRumjA8-9XI1CsKU3BfGMlm2ASYlkvtnWzAW2drTKyCiRbcFEwjs6d1NXBywyJ-Ql-RCdEZuawc3REVBvBFDssO-EdRfvixZRojAiYZl1JWIvMc) **Over the course of Q1 2023:** - Served a total of 162,509,254.3 (~162.5 million) queries to the substrate based archives in Q1 2023 - Served ~54m monthly archive requests for substrate based archives and ~ 400m monthly archive requests in total including EVM Archives - The highest daily total responses have been 2.3m in a single 24 hour period for substrate and 12.3m including EVM Archives - The daily queries confirm a growing trend, only partly due to the deployment of new Archives (which initially are not very busy) Giant Squid is a new service, and has been launched in mid-January, here are two charts showing its quick adoption by the community, as an index of its success: ![](https://lh3.googleusercontent.com/u/0/docs/ADP-6oE6P3xTCMJPooMU0MvARg2aj2tyo6nFO1Trp6VLFMJUjWyPpRQCa863ecVmszBYwCTubrai3-qcKjjbyJlp9T9KEwUB9SjEG\_S5iSCxWgiO7PPpuB8rou4z7r6BGOVS7CUVOnekq68fCxgZGcvaAhjYG-tf4-L3ywlnsMvMaSVVtorlJL8payuS3uhGXSnQyR0fYJivtevwnON5ybqqKos3iwBJswvjiEO8Oq7eYw9B6v283IH0x-AuHJdCEQitMc-bUFXDlNOwSn-UROoZ7gs9PN\_v-cbjAoIKK2DQ4\_9d4k5Bng9UXzQGJWz3RWm2GVv\_L1iTBoszQAxLyxWKh\_KGMClpv1ny7lYnUpIQQXaieG5AxofDBI4F1Wf1YcJtKoVmVrXOntW1gn4SVDmhVMXIargBQ2lTRHIaFpAJu9SLWDEUrdDVJeaCa-tHW4\_GYZPpu9XTEnDIid8Q4e4zOxlyQuNF4Em4Ahg7hHuRreZ0LJ7FYTYCLCYLbe5M1h9p91nzBEyzwuzSHBuMVZL1jy9kdL3c5kODbkYFyl03UjiLze0K5VQN-H3YjmfJO60jVRg91u0sHn9Wh2-\_Ed\_j\_BCrAJINxeNsVg\_0rR2bl0WglUGlHjuvBqtJDqp6BI-hDZgaCVIB5shxJX7E9r2sC8NtaTudIxkfMgxHRmpllFsZ5fnZLkuWcwgPh3XRADfJjtdrI\_gupEtiMAac4QxezN5NiTDUx2j0TUWTdGOTeCdwhwSKflouslRzQROLh8nwyB3Y9m3mJOkhHf9s9DS3163Qu82LNeNocue2bXfWzNHiCUTIJnorQf8DK-juX\_c2iC-rXAl3wLTeYrbKOD\_O4ShcGrrZFibhjlOZkHak0nvt160CSG04x3VJUoTLBVRnYAP4Yy401vgiLqKq1jHIBhv-QHs) ![](https://lh3.googleusercontent.com/u/0/docs/ADP-6oHjyacO1spY-9wlFrIDas5cFnC1wLmsFP4\_ioJYwM5GcfTDH2zq1DaIlolqgkUKzYueUjWbbZw1JYcpUAuIlbM4P44q3z-VNnfaJjDnC66Q4ESiqzSCDt0rqtO-6I5YDQW56QttazehxFVxj\_VC1eeKYYHjDlapyN1pykcYbG8ulFCj0hZJko84zQFU5SuiYIrwY\_YGp3bUPO3\_o2iuygXD7oCLSgOCbpjTXlQBPK4SwFFtIDWB5hadunJoA7dYMJ-iVvO4RCn-329h6CXaVea8TRte\_XayYfndo4MFAl8caJYFqBb-Hln7Y3bM8Osf22o9LBJMg1Mr7pDJkKPEcnTLU1KrgnxOQLPIIzvSW-VLss11CuVTXXNxYUGN\_bECPqp93yHkNTNeAQlL4AdS5is30AFpIrKU6fMZmHTlkyR5YStSg\_UiJ-8e-ijgVTUx-F5CG7gp8092K-XCoeq-G4OBHHZTLkDAC1Gv\_UZymwL4\_kIg5JD-2SzENgD7P5WepX9ndV-xxYb\_j\_1qccvlZLQEiJuJJ3bkO-rp0OmPuy3YnXfNee951bUKqdCEdLDEFqtIxXwea82NUH4IBJwlwSgou4EP4pwVX6zhbrpdvS2gbTucFzEtDsntnjLFz5\_ufEWiPtw782og5etoB8lWa9AyP4JqmtrXxmKgbb-AbKGPhbzIPq0xs8dRBOi7Du1RQbYWGpks3Mal7s8obHm1qz5AlGX3rtvvcXoZJ2GPnGwDpiAQkyxxCkLb9pnNtCJGAGw8z-po7sKuhWVXTGDUvHcpEi\_gQJwq7CEINcMoOvU5wBCLubH7CafpfRuJp8zw8XZi4K7NaxLegPiGHmL0ZvIJOerE-xdPmtuO97XZaXAdMz8dtGzoT2DwOIQLaYROKk80j2amgMle05Jf0\_UBlSSVnsg) ### Costing This proposal includes the combined costs for running Giant Squid and Archives for Polkadot, Kusama and their Parachains,which amounts to a total of **49880.0 DOT**. Raw data for Archives can be seen [here.](https://docs.google.com/spreadsheets/d/e/2PACX-1vRW2UJeY6qR2RiCFfBZ70EZ3i45sc03kizxwgXrJdIqfkn6ygDkRDVNElXmzP3bK9ENB5weUyFM9pvP/pubhtml#) Raw data for Giant Squid can be seen [here](https://docs.google.com/spreadsheets/d/e/2PACX-1vRrG2wW7XXcsfgY-AGp-luHvhu5H-uQWd7xcli84celv42g9SctqA6JOMdZOYJCf\_3hBvh3VFIf\_GfG/pubhtml). The proposal is submitted towards the Polkadot treasury. Here is a summary of the running costs for Archives, in a tabular format: ![](https://lh5.googleusercontent.com/hMGw1\_fcQS-UVysIvwl15gChgc-hELoOM4qZ\_lemjXNh7tLVHhKcknj\_a8VOoj9lucyyrDP0B0UPqImxn6JlkaU1l-uwHgP19V35xvZ7vYHKlaZ39Lv8MtmDCy6QPXrnsmVZFxgEBu7GiiPNluXijNc) Giant Squid running costs: ![](https://lh5.googleusercontent.com/FG5Q6qTSErhhNOMTkS4GrEgzzk9TBCqmIsb0tJb-32ez62d1wAA9kNGszf2tbDFDgFR5uMjVsAOnprgH0Yo\_YGivVLHky3Rg32eU4Zw8QsaC5e1xGHhFi-ac18Co-Kmw9QEH-z5cLEWi4FmMunMQiaw) You can read the full report[ here](https://docs.google.com/document/d/e/2PACX-1vTa-xOKI7UdGXcTDybuTekej7LqAjqXBqPPrctJv3FfF9GO5xTblUB5FTa0in6MNj68JFLj-NRMJ6lI/pub).

Read more
StatusExecuted
75%Aye
Aye (191)
2.65M DOT
Nay (24)
846.34K DOT
Decision28 / 28d
Confirmation1 / 1d
0.0%0.15%
0.06%Support Threshold
0Support Threshold
Support(0.12%)
1.35M DOT
Issuance
1.15B DOT
Vote
OpenGovAssistAug 13, 2023

Hello,

We are in the process of validating a true need for a service to assist teams with crafting and completing successful treasury proposals, so they can focus on building. We would love to hear about your experience with this proposal. If you are willing to take a few minutes, please fill out this form about your experience with the OpenGov treasury proposal process: https://forms.gle/MwDij4adXEQd7Um79

Feel free to leave out any details that your team is not comfortable with sharing, but the more info you can provide, the better we will be able to assess the potential need for our services.

For more info, follow us on Twitter/X: https://twitter.com/OpenGovAssist

Powered by Subsocial