Check out our new component library - build.abs.xyz!
cURL
curl --request POST \ --url https://api.mainnet.abs.xyz/zks_getFeeParams \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": 1, "method": "zks_getFeeParams", "params": [] }'
{ "jsonrpc": "2.0", "id": 1, "result": { "V2": { "config": { "minimal_l2_gas_price": 123, "compute_overhead_part": 123, "pubdata_overhead_part": 123, "batch_overhead_l1_gas": 123, "max_gas_per_batch": 123, "max_pubdata_per_batch": 123 }, "l1_gas_price": 123, "l1_pubdata_price": 123 } } }
Retrieves the current fee parameters
JSON-RPC version
The RPC method to be invoked
Request identifier
No parameters required
Returns the current fee parameters
The response is of type any.
any
Was this page helpful?