ZKSync API
zks_getL1GasPrice
Retrieves the current L1 gas price
POST
Body
application/json
JSON-RPC version
The RPC method to be invoked
Request identifier
No parameters required
Response
200 - application/json
Returns the current L1 gas price in wei (hexadecimal)
The response is of type any
.
Was this page helpful?