Introduction
Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.
I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.
I also build and publish a variety of tools, libraries, and open-source projects.
This article explores ERC-7617, which extends ERC-5219 to support the retrieval of Web3 URL resources consisting of multiple chunks.
The following specification is the basis for this explanation.
For other Ethereum improvement proposals, see the following page.
Overview
The standard proposes an extension to the ERC-6944 resolve mode in the context of the ERC-6860 Web3 URL standard.
For more information about ERC-6860, see the following article.
ERC-6860: Accessing On-Chain Content through HTTP-Style Web3 URLs
For more information about ERC-6944, see the following article.
ERC-6944: Specifying How Contracts Resolve Resource Requests
Specifically, the proposal introduces an optional HTTP header, web3-next-chunk, containing a Web3 URL pointing to the next data chunk.
When a response includes the URL of the next chunk, the caller can retrieve additional data by following that URL. By repeating the process as long as the header is present, the caller can retrieve large resources incrementally instead of receiving all the data at once.
For example, when downloading a large file, the caller makes the initial request() call. The response contains the first chunk and a web3-next-chunk header. The caller follows the URL in the header and repeats the process to retrieve subsequent chunks.
This is particularly useful for on-chain content because the amount of data that can be returned in one call is limited.
ERC-6944 extends ERC-5219. The request() method is associated with ERC-5219.
For more information about ERC-5219, see the following article.
ERC-5219: Efficient DApp Communication Using GET Requests
Motivation
Ethereum RPC endpoints have gas limits, which may be reached when serving large resources. The proposed chunking mechanism allows large content to be delivered in smaller pieces rather than requiring a single call to return the entire resource.
This approach may be especially useful for fully on-chain content.
Specification
ERC-7617 extends the ERC-6944 resolve mode by introducing the optional web3-next-chunk HTTP header in the headers KeyValue array returned by request().
Its value can be an absolute Web3 URL or a relative URL. The contract to be called must implement ERC-6944.
The initial request() call returns an HTTP status code, HTTP headers, and a body. If web3-next-chunk is present, the caller validates its URL.
If the target is invalid, for example because the relevant contract does not implement ERC-6944, processing terminates with an error.
If the URL is valid, the caller ignores the returned statusCode and invokes request() again using the ERC-6944 resolve mode. It repeats this process until the web3-next-chunk header is absent.
This enables large resources to be retrieved through multiple smaller calls.
Additional Considerations
A header was chosen to communicate the location of the next chunk because it does not require changing the ERC-6944 request() interface. Adding a Web3 URL to the headers provides a flexible way to identify subsequent chunks.
Citation
Qi Zhou (@qizhou), Nicolas Deschildre (@nand2), "ERC-7617: Chunk support for ERC-5219 mode in Web3 URL [DRAFT]," Ethereum Improvement Proposals, no. 7617, February 2024. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-7617.
Conclusion
ERC-7617 introduces a mechanism for retrieving Web3 URL resources in multiple chunks using the web3-next-chunk header.

