Executions
A strategy is executed at regular intervals for an indefinite number of times, untile cancellation.
In order for executions to be performed, the user will need to have enough funds on its gas-wallet to pay for blockchain fees.
An execution can fail if the user hasn’t got enough funds on his wallet. In that case 8Pay will retry every 6 hours.
Get a list of executions
GET
https://api.8pay.network/v1/:chain/dollar-cost-average/executions
Path Parameters
chain
string
Query Parameters
from
number
filter by timestamp
(default 0)
to
number
filter by timestamp
(default current timestamp)
sort
string
asc
or desc
based on timestamp
(default desc
)
Headers
Authorization
string
Bearer <api-key>
Get executions of a strategy
GET
https://api.8pay.network/v1/:chain/dollar-cost-average/strategies/:strategyId/executions
Path Parameters
strategyId
string
ID of the strategy
chain
string
Query Parameters
from
number
filter by timestamp
(default 0)
to
number
filter by timestamp
(default current timestamp)
sort
string
asc
or desc
based on timestamp
(default desc
)
Headers
Authorization
string
Bearer <api-key>
Last updated