jupiter_createDCA
Create a recurring Dollar-Cost Averaging order for swapping tokens at set intervals. Returns an unsigned transaction for signing.
Instructions
Create a Dollar-Cost Averaging (DCA) recurring order. Returns an unsigned transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Wallet executing the DCA | |
| payer | Yes | Wallet paying for the DCA setup | |
| startAt | No | ISO 8601 start timestamp (default: now) | |
| frequency | Yes | DCA interval | |
| inputMint | Yes | Token mint address (base58) | |
| outputMint | Yes | Token mint address (base58) | |
| totalInAmount | Yes | Total amount of input token to DCA | |
| numberOfOrders | Yes | Total number of orders to split into | |
| maxOutAmountPerOrder | No | Raw token amount as string (no decimals) | |
| minOutAmountPerOrder | No | Raw token amount as string (no decimals) |