Skip to main content
POST
zks_getL1GasPrice

Body

application/json
jsonrpc
string
default:2.0
required

JSON-RPC version

method
string
default:zks_getL1GasPrice
required

The RPC method to be invoked

id
integer
default:1
required

Request identifier

params
any[]
required

No parameters required

Response

200 - application/json

Returns the current L1 gas price in wei (hexadecimal)