# FeeMarket

## GET /cosmos/evm/feemarket/v1/params

> Params queries the parameters of x/feemarket module.

```json
{"openapi":"3.1.1","info":{"title":"Kiichain - HTTP API Console","version":"v1"},"servers":[{"url":"https://lcd.uno.sentry.testnet.v3.kiivalidator.com"}],"paths":{"/cosmos/evm/feemarket/v1/params":{"get":{"summary":"Params queries the parameters of x/feemarket module.","operationId":"FeemarketParams","responses":{"200":{"description":"A successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"params":{"description":"params define the evm module parameters.","type":"object","properties":{"no_base_fee":{"type":"boolean","title":"no_base_fee forces the EIP-1559 base fee to 0 (needed for 0 price calls)"},"base_fee_change_denominator":{"type":"integer","format":"int64","description":"base_fee_change_denominator bounds the amount the base fee can change\nbetween blocks."},"elasticity_multiplier":{"type":"integer","format":"int64","description":"elasticity_multiplier bounds the maximum gas limit an EIP-1559 block may\nhave."},"enable_height":{"type":"string","format":"int64","description":"enable_height defines at which block height the base fee calculation is\nenabled."},"base_fee":{"type":"string","description":"base_fee for EIP-1559 blocks."},"min_gas_price":{"type":"string","title":"min_gas_price defines the minimum gas price value for cosmos and eth\ntransactions"},"min_gas_multiplier":{"type":"string","title":"min_gas_multiplier bounds the minimum gas used to be charged\nto senders based on gas limit"}},"title":"Params defines the EVM module parameters"}},"description":"QueryParamsResponse defines the response type for querying x/vm parameters."}}}},"default":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"type_url":{"type":"string"},"value":{"type":"string","format":"byte"}}}}}}}}}},"tags":["Query"]}}}}
```

## GET /cosmos/evm/feemarket/v1/base\_fee

> BaseFee queries the base fee of the parent block of the current block.

```json
{"openapi":"3.1.1","info":{"title":"Kiichain - HTTP API Console","version":"v1"},"servers":[{"url":"https://lcd.uno.sentry.testnet.v3.kiivalidator.com"}],"paths":{"/cosmos/evm/feemarket/v1/base_fee":{"get":{"summary":"BaseFee queries the base fee of the parent block of the current block.","operationId":"BaseFee","responses":{"200":{"description":"A successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"base_fee":{"type":"string","title":"base_fee is the EIP1559 base fee"}},"description":"QueryBaseFeeResponse returns the EIP1559 base fee."}}}},"default":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"type_url":{"type":"string"},"value":{"type":"string","format":"byte"}}}}}}}}}},"tags":["Query"]}}}}
```

## GET /cosmos/evm/feemarket/v1/block\_gas

> BlockGas queries the gas used at a given block height

```json
{"openapi":"3.1.1","info":{"title":"Kiichain - HTTP API Console","version":"v1"},"servers":[{"url":"https://lcd.uno.sentry.testnet.v3.kiivalidator.com"}],"paths":{"/cosmos/evm/feemarket/v1/block_gas":{"get":{"summary":"BlockGas queries the gas used at a given block height","operationId":"BlockGas","responses":{"200":{"description":"A successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"gas":{"type":"string","format":"int64","title":"gas is the returned block gas"}},"description":"QueryBlockGasResponse returns block gas used for a given height."}}}},"default":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"type_url":{"type":"string"},"value":{"type":"string","format":"byte"}}}}}}}}}},"tags":["Query"]}}}}
```
