ethermint/feemarket
Table of Contents
ethermint/feemarket/v1/events.proto
TopCopyright Tharsis Labs Ltd.(Evmos)
SPDX-License-Identifier:ENCL-1.0(https://github.com/evmos/evmos/blob/main/LICENSE)
EventBlockGas
EventBlockGas defines an Ethereum block gas event
| Field | Type | Label | Description |
| height | string | height of the block |
|
| amount | string | amount of gas wanted by the block |
EventFeeMarket
EventFeeMarket is the event type for the fee market module
| Field | Type | Label | Description |
| base_fee | string | base_fee for EIP-1559 blocks |
ethermint/feemarket/v1/feemarket.proto
TopCopyright Tharsis Labs Ltd.(Evmos)
SPDX-License-Identifier:ENCL-1.0(https://github.com/evmos/evmos/blob/main/LICENSE)
Params
Params defines the EVM module parameters
| Field | Type | Label | Description |
| no_base_fee | bool | no_base_fee forces the EIP-1559 base fee to 0 (needed for 0 price calls) |
|
| base_fee_change_denominator | uint32 | base_fee_change_denominator bounds the amount the base fee can change between blocks. |
|
| elasticity_multiplier | uint32 | elasticity_multiplier bounds the maximum gas limit an EIP-1559 block may have. |
|
| enable_height | int64 | enable_height defines at which block height the base fee calculation is enabled. |
|
| base_fee | string | base_fee for EIP-1559 blocks. |
|
| min_gas_price | string | min_gas_price defines the minimum gas price value for cosmos and eth transactions |
|
| min_gas_multiplier | string | min_gas_multiplier bounds the minimum gas used to be charged to senders based on gas limit |
ethermint/feemarket/v1/genesis.proto
TopCopyright Tharsis Labs Ltd.(Evmos)
SPDX-License-Identifier:ENCL-1.0(https://github.com/evmos/evmos/blob/main/LICENSE)
GenesisState
GenesisState defines the feemarket module's genesis state.
| Field | Type | Label | Description |
| params | Params | params defines all the parameters of the feemarket module. |
|
| block_gas | uint64 | block_gas is the amount of gas wanted on the last block before the upgrade. Zero by default. |
ethermint/feemarket/v1/query.proto
TopCopyright Tharsis Labs Ltd.(Evmos)
SPDX-License-Identifier:ENCL-1.0(https://github.com/evmos/evmos/blob/main/LICENSE)
QueryBaseFeeRequest
QueryBaseFeeRequest defines the request type for querying the EIP1559 base
fee.
QueryBaseFeeResponse
QueryBaseFeeResponse returns the EIP1559 base fee.
| Field | Type | Label | Description |
| base_fee | string | base_fee is the EIP1559 base fee |
QueryBlockGasRequest
QueryBlockGasRequest defines the request type for querying the EIP1559 base
fee.
QueryBlockGasResponse
QueryBlockGasResponse returns block gas used for a given height.
| Field | Type | Label | Description |
| gas | int64 | gas is the returned block gas |
QueryParamsRequest
QueryParamsRequest defines the request type for querying x/evm parameters.
QueryParamsResponse
QueryParamsResponse defines the response type for querying x/evm parameters.
| Field | Type | Label | Description |
| params | Params | params define the evm module parameters. |
Query
Query defines the gRPC querier service.
| Method Name | Request Type | Response Type | Description |
| Params | QueryParamsRequest | QueryParamsResponse | Params queries the parameters of x/feemarket module. |
| BaseFee | QueryBaseFeeRequest | QueryBaseFeeResponse | BaseFee queries the base fee of the parent block of the current block. |
| BlockGas | QueryBlockGasRequest | QueryBlockGasResponse | BlockGas queries the gas used at a given block height |
Methods with HTTP bindings
| Method Name | Method | Pattern | Body |
| Params | GET | /evmos/feemarket/v1/params | |
| BaseFee | GET | /evmos/feemarket/v1/base_fee | |
| BlockGas | GET | /evmos/feemarket/v1/block_gas |
ethermint/feemarket/v1/tx.proto
TopCopyright Tharsis Labs Ltd.(Evmos)
SPDX-License-Identifier:ENCL-1.0(https://github.com/evmos/evmos/blob/main/LICENSE)
MsgUpdateParams
MsgUpdateParams defines a Msg for updating the x/feemarket module parameters.
| Field | Type | Label | Description |
| authority | string | authority is the address of the governance account. |
|
| params | Params | params defines the x/feemarket parameters to update. NOTE: All parameters must be supplied. |
MsgUpdateParamsResponse
MsgUpdateParamsResponse defines the response structure for executing a
MsgUpdateParams message.
Msg
Msg defines the erc20 Msg service.
| Method Name | Request Type | Response Type | Description |
| UpdateParams | MsgUpdateParams | MsgUpdateParamsResponse | UpdateParams defined a governance operation for updating the x/feemarket module parameters. The authority is hard-coded to the Cosmos SDK x/gov module account |
Scalar Value Types
| .proto Type | Notes | Python Type |
| double | float | |
| float | float | |
| int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int |
| int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int/long |
| uint32 | Uses variable-length encoding. | int/long |
| uint64 | Uses variable-length encoding. | int/long |
| sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int |
| sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int/long |
| fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | int |
| fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | int/long |
| sfixed32 | Always four bytes. | int |
| sfixed64 | Always eight bytes. | int/long |
| bool | boolean | |
| string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | str/unicode |
| bytes | May contain any arbitrary sequence of bytes. | str |