API
1.Create DCA order
Path Parameters
Name
Type
Description example
{
"makerAmount": "20000000", // total amount with decimals,there's min.amt requirements for each swap set.
"signature": "0x37e6...", // user sign messagae,wallet.signMessage(message)
"orderMaker": "0xB3cb...",// wallet address
"makerAsset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", // token address
"takerAsset": "0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA", // token address
"time": 300, // interval time, s
"times": 2, // frequency
"minPrice": "0.9", // optional, price range
"maxPrice": "1.1", // optional, price range
"referrer": "0xxxxxxxxxxxxxxxxxxx", // optional. It's the EOA address to set up fees and track data from your end.
"referrerFee": "1", // optional. "1"=1%. Enter the num to charge the platform fee on your end. The range will be 0-5%
"enabledDexIds":"", // optional. Enter the 'index' number of dexs through dexList. P.S. enableDexIds has higher priority compared with disabledDexIds
"disabledDexIds":"12,49,51,52", // optional. Enter the 'index' number of dexs through dexList endpoint to disable single or multiple dexs separated by commas, e.g. disabledDexIds: "2,6,9".
}2.Cancel DCA order
Path Parameters
Name
Type
Description
Request Body
Name
Type
Description
Example
3.Get DCA order by address
Path Parameters
Name
Type
Description
Query Parameters
Name
Type
Description
4.Get all chain DCA order by address
Path Parameters
Name
Type
Description
Query Parameters
Name
Type
Description
5.Get DCA order execution details
Path Parameters
Name
Type
Description
Last updated