EIP-8149 · Draft · Core · 2026-02-06
EIP-8149: Multi KZG Point Evaluation Precompile
Proposes a new precompile that checks up to 128 KZG openings of one EIP-4844 blob in a single call, so contracts such as fraud-proof verifiers do not pay the 50,000-gas point-evaluation cost once per value.
What problem does it solve?
EIP-4844 blobs are not readable by the EVM. A contract only sees the blob's versioned hash. To prove that the blob holds value y at point z, it calls the point-evaluation precompile at 0x0A, which costs 50,000 gas per opening.
Some applications, fraud proofs in particular, need several values from the same blob. They have to call 0x0A again and again and pay the full price each time. EIP-8149 adds a batch version: verify n (z, y) pairs against one blob commitment with one proof and one call.
How it works
- A new precompile at an address still marked TBD. The existing
0x0Aprecompile is left unchanged. - Input (
132 + 64·nbytes):versioned_hash(32 bytes) andcommitment(48 bytes), as in EIP-4844n, a 4-byte big-endian count, with1 ≤ n ≤ 128npairs ofz(32 bytes) andy(32 bytes), each strictly less thanBLS_MODULUS- one 48-byte multi-point
proof
- The precompile checks that the commitment matches the versioned hash, then runs one multi-point KZG verification over BLS12-381 with the same trusted setup as EIP-4844.
- Output on success: the same 64 bytes as
0x0A(FIELD_ELEMENTS_PER_BLOBandBLS_MODULUS), so existing callers can reuse their decoding. Any failure reverts the call. - Gas is
BASE_GAS + PER_POINT_GAS × n. Both constants are still TBD, but the spec requires that batching be cheaper thannseparate0x0Acalls whenevern > 1.
Sample code
Building the input and calling the precompile from Solidity. MULTI_KZG is a placeholder because the address is not assigned yet:
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.24;
library MultiKzg {
address internal constant MULTI_KZG = address(0); // TBD in EIP-8149
function verify(
bytes32 versionedHash,
bytes memory commitment, // 48 bytes
bytes32[] memory z,
bytes32[] memory y,
bytes memory proof // 48 bytes
) internal view returns (bool) {
uint256 n = z.length;
require(n == y.length && n >= 1 && n <= 128, "bad n");
bytes memory pairs;
for (uint256 i; i < n; ++i) pairs = bytes.concat(pairs, z[i], y[i]);
bytes memory input = bytes.concat(
versionedHash, commitment, bytes4(uint32(n)), pairs, proof
);
(bool ok, bytes memory out) = MULTI_KZG.staticcall(input);
return ok && out.length == 64;
}
}
Things to know
- Status: Draft. The precompile address and both gas constants are undecided, so this cannot be used on any network yet.
- It only batches openings of one blob. Values from different blobs still need separate calls.
- The spec notes implementations typically interpolate a polynomial through the points (O(n²), or O(n log n) with FFT when points are roots of unity) and finish with a single pairing check.
- Field elements at or above
BLS_MODULUSmust be rejected, and gas pricing must reflect real computational cost.