ZKSync API

zks_getL1GasPrice

Retrieves the current L1 gas price

post/zks_getL1GasPrice

Request body

jsonrpcstring required

JSON-RPC version

methodstring required

The RPC method to be invoked

idinteger required

Request identifier

Response

Returns the current L1 gas price in wei (hexadecimal)

L1GasPriceResponse required— unresolved $ref

Changes