Skip to content
Alchemy Logo

eth_estimateDiffSize

POST
/{apiKey}

Returns estimated diff size and gas consumption for a potential transaction.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

objectrequired

Transaction object to simulate (same shape as eth_estimateGas).

string or enumoptional

Block number or tag at which to estimate (defaults to 'latest' if omitted).

Responses

200

Estimated gas usage and L1 diff size.

Was this page helpful?