Strategies
Strategies define the input token, the amount, the output tokens and frequency of each recurring buy. You can create a strategy using the web app.
Get a list of strategies
GET
https://api.8pay.network/v1/:chain/dollar-cost-average/strategies
Path Parameters
Name
Type
Description
Query Parameters
Name
Type
Description
admin
string
filter by admin
from
number
filter by createdAt
(default 0)
to
number
filter by createdAt
(default current timestamp)
sort
string
asc
or desc
(default desc
), sort based on createdAt
Headers
Name
Type
Description
Authorization
string
Bearer <api-key>
Get a strategy
GET
https://api.8pay.network/v1/:chain/dollar-cost-average/strategies/:strategyId
Path Parameters
Name
Type
Description
strategyId
string
ID of the strategy
Headers
Name
Type
Description
Authorization
string
Bearer <api-key>
Last updated