> For the complete documentation index, see [llms.txt](https://docs.oswap.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.oswap.io/protocol/pair/mint.md).

# Mint

Add liquidity in the pair AA and mint pool assets.

### **Arguments**

* **Option a: Send both paired assets** `output` *required*
* **Option b: Send one asset** `output` and **mint** `data` \
  Used to add liquidity using a single asset.
* **to** `data` *optional*

  Define the receiver address.
* **deadline** `data` *optional*

  Define a timestamp, the request will be bounced if deadline expired.

### **Example**

#### Option a

```javascript
{
  trigger: {
    outputs: {
      base: 500000,
      'WhsD5Y/1NeKROgQojGwfe9EBC7NH4KnAk4CorCrVRhs=': 1000000
    }
  }
}
```

#### Option b

```javascript
{
  trigger: {
    outputs: {
      base: 1000000
    },
    data: {
      mint: '1'
    }
  }
}
```

### Retur**ns**

```javascript
{
  responseVars: {
    type: 'mint',
    asset_amount: 500000
  }
}
```
