Orderbook

private/cancel_by_nonce

Changed on

Cancels a single order identified by its signing nonce, instrument_name and subaccount_id. The owning wallet is taken from the authenticated session rather than the request. Requires any trade scope; returns the cancelled order.

post/private/cancel_by_nonce

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    API key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature

Request body

CancelByNonceRequest required
instrument_name, string required
nonce, string required
subaccount_id, integer required

Response

Success

CancelByNonceResponse required
cancelled_orders, integer required

Changes

    • info

      the endpoint scheme security DeriveWallet AND DeriveTimestamp AND DeriveSignature was added to the API

    • info

      added the media type application/json for the response with the status