<!-- Canonical: https://docs.linea.build/api/linea-smart-contracts/interfaces/l2/il2messageservicev1 -->

> For the complete Linea documentation index, see [llms.txt](/llms.txt).
> Agents can fetch this page as Markdown at [https://docs.linea.build/api/linea-smart-contracts/interfaces/l2/il2messageservicev1.md](https://docs.linea.build/api/linea-smart-contracts/interfaces/l2/il2messageservicev1.md).

# IL2MessageServiceV1

# `IL2MessageServiceV1`

### setMinimumFee

```solidity
function setMinimumFee(uint256 _feeInWei) external
```

The Fee Manager sets a minimum fee to address DOS protection.

_MINIMUM_FEE_SETTER_ROLE is required to set the minimum fee._

#### Parameters

| Name | Type | Description |
| --- | --- | --- |
| _feeInWei | uint256 | New minimum fee in Wei. |

Contributions not accepted

These reference pages are automatically generated based on Linea's [smart contracts](https://github.com/Consensys/linea-monorepo/tree/main/contracts/src). To ensure they accurately match the deployed smart contracts, we cannot accept any contributions that edit these pages.
