ZKSync API

zks_getL1GasPrice

Retrieves the current L1 gas price

post/zks_getL1GasPrice

Request

  • Base URL
    https://api.mainnet.abs.xyz
  • URL
    https://api.mainnet.abs.xyz/zks_getL1GasPrice
  • Auth
    none declared

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

No recorded changes to this operation across all 2 revisions of this API.