# Swap & Deploy

**CLI:** 1node swapAndDeploy

**API:**

POST /v1/swap-deploy

**Body (JSON):**

```
{ "fromToken":"1NODE","toToken":"AKT","amount":20,"chain":"polygon","provider":"akash","autoFund":true }
```

**Response (200):**

```
{ "swapTxHash":"0xabc...","leaseId":"akash1def..." }
```
