Market Maker Protection

private/get_mmp_config

Changed on

Returns the market maker protection (MMP) settings for a subaccount, optionally filtered to a single currency. Each entry reports the amount and delta limits (as decimal strings), the rolling interval and freeze duration (in milliseconds), and the current freeze state, including whether MMP is currently frozen and the timestamp at which it unfreezes.

post/private/get_mmp_config

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

MmpScopeRequest required
currency, string nullable
subaccount_id, integer required

Response

Success

MmpConfigResult[] required
currency, string required
is_frozen, boolean required
mmp_amount_limit, string required
mmp_delta_limit, string required
mmp_frozen_time, integer required
mmp_interval, integer required
mmp_unfreeze_time, integer required
subaccount_id, 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