---
title: "Params queries the parameters of x/feemodel module."
method: GET
path: "/coreum/feemodel/v1/params"
tags: ["Query"]
---

# Params queries the parameters of x/feemodel module.

`GET /coreum/feemodel/v1/params`

## Response `200`

A successful response.

- CoreumFeemodelV1QueryParamsResponse — QueryParamsResponse defines the response type for querying x/feemodel parameters.
  - `params` CoreumFeemodelV1Params — Params store gov manageable feemodel parameters.
    - `model` CoreumFeemodelV1ModelParams — The input (x value) for that function is calculated by taking short block gas average. Price (y value) being an output of the fee model is used as the minimum gas price for next block.
      - `initial_gas_price` string — initial_gas_price is used when block gas short average is 0. It happens when there are no transactions being broadcasted. This value is also used to initialize gas price on brand-new chain.
      - `max_gas_price_multiplier` string — max_gas_price_multiplier is used to compute max_gas_price (max_gas_price = initial_gas_price * max_gas_price_multiplier). Max gas price is charged when block gas short average is greater than or equal to MaxBlockGas. This value is used to limit gas price escalation to avoid having possible infinity GasPrice value otherwise.
      - `max_discount` string — max_discount is th maximum discount we offer on top of initial gas price if short average block gas is between long average block gas and escalation start block gas.
      - `escalation_start_fraction` string — escalation_start_fraction defines fraction of max block gas usage where gas price escalation starts if short average block gas is higher than this value.
      - `max_block_gas` string, int64 — max_block_gas sets the maximum capacity of block. This is enforced on tendermint level in genesis configuration. Once short average block gas goes above this value, gas price is a flat line equal to MaxGasPrice.
      - `short_ema_block_length` integer — short_ema_block_length defines inertia for short average long gas in EMA model. The equation is: NewAverage = ((ShortAverageBlockLength - 1)*PreviousAverage + GasUsedByCurrentBlock) / ShortAverageBlockLength The value might be interpreted as the number of blocks which are taken to calculate the average. It would be exactly like that in SMA model, in EMA this is an approximation.
      - `long_ema_block_length` integer — long_ema_block_length defines inertia for long average block gas in EMA model. The equation is: NewAverage = ((LongAverageBlockLength - 1)*PreviousAverage + GasUsedByCurrentBlock) / LongAverageBlockLength The value might be interpreted as the number of blocks which are taken to calculate the average. It would be exactly like that in SMA model, in EMA this is an approximation.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/coreumfoundation/apis/title-goes-here.md) · [All operations](https://skmtc.net/coreumfoundation/apis/title-goes-here/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coreumfoundation/title-goes-here/versions/2a2e5bc4593a/schema)
