RFQ

private/cancel_batch_quotes

Changed on

Cancels all open quotes on a subaccount that match the supplied filters (any combination of quote_id, rfq_id, label, and nonce, applied together) in a single atomic operation. Omitting the optional filters targets all of the subaccount's open quotes. Returns the list of cancelled quote ids. Requires an RFQ trade scope.

post/private/cancel_batch_quotes

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

CancelBatchQuotesRequest required
label, string nullable
nonce, string nullable
quote_id, string uuid nullable

Optional UUID v4 string

rfq_id, string uuid nullable

Optional UUID v4 string

subaccount_id, integer required

Response

Success

CancelBatchResult required
cancelled_ids, string[] 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