Orderbook
private/replace
Atomically cancels a resting order (identified by order_id_to_cancel or nonce_to_cancel) and submits a replacement order in a single request. The payload is a full new-order specification plus the cancel target and an optional expected_filled_amount guard. Requires a signed order payload and Orderbook trade scope; returns both the cancelled and the newly created order.
post/private/replace
Request
- Base URL: https://api.derive.xyz/v3
- URL: https://api.derive.xyz/v3/private/replace
- Auth: none declared
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.