Skip to content
Alchemy Logo

zks_gasPerPubdata

POST
/{apiKey}

Returns the current gas price per pubdata byte. This value is used to calculate the L1 data availability cost for transactions on zkSync Era. The pubdata refers to the data that needs to be posted to L1 for data availability.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Responses

200

The current gas per pubdata byte value in hexadecimal format.

Was this page helpful?