DELETE /twap-orders/{order_id}
Cancels a TWAP order.
DELETE https://api.aevo.xyz/twap-orders/{order_id}
Authentication required. Include your
AEVO-KEYandAEVO-SECRETheaders. See Authentication.
Example Request
curl --request DELETE \
--url https://api.aevo.xyz/twap-orders/{order_id} \
--header 'accept: application/json' \
--header 'AEVO-KEY: <your-api-key>' \
--header 'AEVO-SECRET: <your-api-secret>'Responses
200 — TWAP order cancelled.
order_id
string
Yes
Order ID is the hash of the order payload Example: 0x4c43e0ab72a4edb72dfe4b129148899815d816837b9a7e22d964b884834639f8
executed_amount
string
Yes
Amount executed so far in internal representation (6 decimals) Example: 5000000
slices_executed
string
Yes
Number of slices executed so far Example: 50
400 — Bad request.
error
string
Yes
Error message. Example: ERR_MALFORMED_REQUEST
401 — Unauthorized.
error
string
Yes
Error message. Example: UNAUTHORIZED
429 — Rate limit exceeded.
error
string
Yes
Error message. Example: RATE_LIMIT_EXCEEDED
500 — Internal server error.
error
string
Yes
Error message. Example: INTERNAL_ERROR
Last updated
Was this helpful?

