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
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
}
}
}
Returns the current fee parameters
The response is of type any
.
Was this page helpful?