Skip to content
Alchemy Logo

zks_estimateGasL1ToL2

POST
/{apiKey}

Estimates the gas required for an L1 to L2 transaction.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

objectrequired

The transaction call object containing details about the transaction.

Responses

200

The estimated gas amount in hexadecimal format.

Was this page helpful?