The post Enhancing Subgraph Indexing: Reduce eth_calls for Better Performance appeared on BitcoinEthereumNews.com. Terrill Dicki Nov 16, 2025 16:47 Discover how reducing eth_calls can significantly boost subgraph indexing performance, as shared by The Graph Protocol’s new best practices series. In the latest insights from The Graph Protocol, a straightforward yet impactful tip has been shared to enhance subgraph indexing performance: reducing eth_calls. This advice comes as part of their newly launched ‘Best Practices in Subgraph Development’ series, which aims to guide developers in optimizing their subgraph development processes. Understanding the Importance of Reducing eth_calls Subgraphs, which are decentralized open-source APIs, play a crucial role in the Web3 stack by enabling developers to create fast front ends for decentralized applications (dapps). However, as usage increases, so does the need for efficiency. A common challenge is the slow indexing performance due to excessive eth_calls, which are calls to access smart contract states through JSON RPC. These calls can delay operations significantly, often taking from 100 milliseconds to several seconds to resolve, according to The Graph. Strategies for Optimization To address this, developers are encouraged to minimize eth_calls. One effective strategy is to cache the results of these calls and store them in the subgraph, thus avoiding repeated calls for data that has already been retrieved. Additionally, leveraging event data from smart contracts and calculating necessary information directly within the subgraph can further reduce reliance on eth_calls. Practical Application An example provided by The Graph involves an NFT subgraph tracking token mints and metadata. Instead of making eth_calls for each transaction to fetch contract details like name and symbol, developers can optimize by caching these details after the initial call. This approach not only reduces unnecessary calls but also significantly speeds up the indexing process. Continued Advancements As technologies such as Firehose and Substreams continue to evolve, The… The post Enhancing Subgraph Indexing: Reduce eth_calls for Better Performance appeared on BitcoinEthereumNews.com. Terrill Dicki Nov 16, 2025 16:47 Discover how reducing eth_calls can significantly boost subgraph indexing performance, as shared by The Graph Protocol’s new best practices series. In the latest insights from The Graph Protocol, a straightforward yet impactful tip has been shared to enhance subgraph indexing performance: reducing eth_calls. This advice comes as part of their newly launched ‘Best Practices in Subgraph Development’ series, which aims to guide developers in optimizing their subgraph development processes. Understanding the Importance of Reducing eth_calls Subgraphs, which are decentralized open-source APIs, play a crucial role in the Web3 stack by enabling developers to create fast front ends for decentralized applications (dapps). However, as usage increases, so does the need for efficiency. A common challenge is the slow indexing performance due to excessive eth_calls, which are calls to access smart contract states through JSON RPC. These calls can delay operations significantly, often taking from 100 milliseconds to several seconds to resolve, according to The Graph. Strategies for Optimization To address this, developers are encouraged to minimize eth_calls. One effective strategy is to cache the results of these calls and store them in the subgraph, thus avoiding repeated calls for data that has already been retrieved. Additionally, leveraging event data from smart contracts and calculating necessary information directly within the subgraph can further reduce reliance on eth_calls. Practical Application An example provided by The Graph involves an NFT subgraph tracking token mints and metadata. Instead of making eth_calls for each transaction to fetch contract details like name and symbol, developers can optimize by caching these details after the initial call. This approach not only reduces unnecessary calls but also significantly speeds up the indexing process. Continued Advancements As technologies such as Firehose and Substreams continue to evolve, The…

Enhancing Subgraph Indexing: Reduce eth_calls for Better Performance



Terrill Dicki
Nov 16, 2025 16:47

Discover how reducing eth_calls can significantly boost subgraph indexing performance, as shared by The Graph Protocol’s new best practices series.

In the latest insights from The Graph Protocol, a straightforward yet impactful tip has been shared to enhance subgraph indexing performance: reducing eth_calls. This advice comes as part of their newly launched ‘Best Practices in Subgraph Development’ series, which aims to guide developers in optimizing their subgraph development processes.

Understanding the Importance of Reducing eth_calls

Subgraphs, which are decentralized open-source APIs, play a crucial role in the Web3 stack by enabling developers to create fast front ends for decentralized applications (dapps). However, as usage increases, so does the need for efficiency. A common challenge is the slow indexing performance due to excessive eth_calls, which are calls to access smart contract states through JSON RPC. These calls can delay operations significantly, often taking from 100 milliseconds to several seconds to resolve, according to The Graph.

Strategies for Optimization

To address this, developers are encouraged to minimize eth_calls. One effective strategy is to cache the results of these calls and store them in the subgraph, thus avoiding repeated calls for data that has already been retrieved. Additionally, leveraging event data from smart contracts and calculating necessary information directly within the subgraph can further reduce reliance on eth_calls.

Practical Application

An example provided by The Graph involves an NFT subgraph tracking token mints and metadata. Instead of making eth_calls for each transaction to fetch contract details like name and symbol, developers can optimize by caching these details after the initial call. This approach not only reduces unnecessary calls but also significantly speeds up the indexing process.

Continued Advancements

As technologies such as Firehose and Substreams continue to evolve, The Graph Protocol is committed to enhancing the performance and capabilities of decentralized data management. The optimization of eth_calls is a step towards more efficient and responsive dapps, benefiting developers and end-users alike.

For more detailed insights and to explore further best practices in subgraph development, visit the full article on [The Graph Protocol](https://thegraph.com/blog/improve-subgraph-performance-reduce-eth-calls/).

Image source: Shutterstock

Source: https://blockchain.news/news/enhancing-subgraph-indexing-reduce-eth-calls

Market Opportunity
Boost Logo
Boost Price(BOOST)
$0.001437
$0.001437$0.001437
+0.77%
USD
Boost (BOOST) Live Price Chart
Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact service@support.mexc.com for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.

You May Also Like

How ZKP’s Daily Presale Auction Is Creating a New Standard for 1,000x Returns

How ZKP’s Daily Presale Auction Is Creating a New Standard for 1,000x Returns

The post How ZKP’s Daily Presale Auction Is Creating a New Standard for 1,000x Returns appeared on BitcoinEthereumNews.com. Disclaimer: This article is a sponsored
Share
BitcoinEthereumNews2026/01/16 09:02
NGP Token Crashes 88% After $2M Oracle Hack

NGP Token Crashes 88% After $2M Oracle Hack

The post NGP Token Crashes 88% After $2M Oracle Hack appeared on BitcoinEthereumNews.com. Key Notes The attacker stole ~$2 million worth of ETH from the New Gold Protocol on Sept.18. The exploit involved a flash loan that successfully manipulated the price oracle enabling the attacker to bypass security checks in the smart contract. The NGP token is down 88% as the attacker obfuscates their funds through Tornado Cash. New Gold Protocol, a DeFi staking project, lost around 443.8 Ethereum ETH $4 599 24h volatility: 2.2% Market cap: $555.19 B Vol. 24h: $42.83 B , valued at $2 million, in an exploit on Sept 18. The attack caused the project’s native NGP token to crash by 88%, wiping out most of its market value in less than an hour. The incident was flagged by multiple blockchain security firms, including PeckShield and Blockaid. Both firms confirmed the amount stolen and tracked the movement of the funds. Blockaid’s analysis identified the specific vulnerability that the attacker used. 🚨 Community Alert: Blockaid’s exploit detection system identified multiple malicious transactions targeting the NGP token on BSC. Roughly $2M has been drained. ↓ We’re monitoring in real time and will share updates below pic.twitter.com/efxXma0REQ — Blockaid (@blockaid_) September 17, 2025 Flash Loan Attack Manipulated Price Oracle According to the Blockaid report, the hack was a price oracle manipulation attack. The protocol’s smart contract had a critical flaw; it determined the NGP token’s price by looking at the asset reserves in a single Uniswap liquidity pool. This method is insecure because a single pool’s price can be easily manipulated. The attacker used a flash loan to borrow a large amount of assets. A flash loan consists of a series of transactions that borrow and return a loan within the same transaction. They used these assets to temporarily skew the reserves in the liquidity pool, tricking the protocol into thinking the…
Share
BitcoinEthereumNews2025/09/18 19:04
Lighter drops 14% after losing $2 support – More pain ahead for LIT?

Lighter drops 14% after losing $2 support – More pain ahead for LIT?

The post Lighter drops 14% after losing $2 support – More pain ahead for LIT? appeared on BitcoinEthereumNews.com. Since it touched a high of $4.5, Lighter has
Share
BitcoinEthereumNews2026/01/16 08:46