Skip to content

EIP-4844: Add blob details to Block class #4570

@sealer3

Description

@sealer3

Describe the Feature

In addition to blob transactions (added with #4554), EIP-4844 adds blob_gas_used and excess_blob_gas to block headers. Ethers should allow these to be accessible from the Block class.

Code Example

const block = await provider.getBlock();

// These would return null if the fork has not yet happened
console.log(block.blobGasUsed);
console.log(block.excessBlobGas);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement.fixed/completeThis Bug is fixed or Enhancement is complete and published.minor-bumpPlanned for the next minor version bump.v6Issues regarding v6

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions