---
description: Add liquidity to earn fees
---

# Add Liquidity

```
function addLiquidity(address token, uint256 amount) external 
```

&#x20;`token` - address of token to provide liquidity to a pool\
&#x20;`amount` - amount of token to deposit

{% hint style="info" %}
If there is not an LP token created for a token, then one will be created. If already created, then the contact will mint LP tokens for the respected asset.
{% endhint %}

