POST
/
zks_getFeeParams
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
    }
  }
}

Body

application/json
jsonrpc
string
default:2.0
required

JSON-RPC version

method
string
default:zks_getFeeParams
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 fee parameters

The response is of type any.