Skip to main content
POST
private/set_mmp_config

Authorizations

X-DeriveWallet
string
header
required

The wallet the request acts for.

X-DeriveTimestamp
string
header
required

The current time in milliseconds, as a decimal string.

X-DeriveSignature
string
header
required

EIP-191 signature of the timestamp, by the wallet or one of its session keys.

Body

application/json

mmp_interval and mmp_frozen_time are specified in milliseconds (rounded up to the nearest whole second).

currency
string
required
mmp_frozen_time
integer<uint64>
required
Required range: x >= 0
mmp_interval
integer<uint64>
required
Required range: x >= 0
subaccount_id
integer<uint64>
required
Required range: x >= 0
mmp_amount_limit
string<decimal>
default:0

Decimal string of the human value (e.g. "1.5"), up to 12 fractional digits; a string or JSON number is accepted

mmp_delta_limit
string<decimal>
default:0

Decimal string of the human value (e.g. "1.5"), up to 12 fractional digits; a string or JSON number is accepted

Response

Success

Echoes the stored config: decimal-string limits, ms intervals.

currency
string
required
mmp_amount_limit
string
required
mmp_delta_limit
string
required
mmp_frozen_time
integer<uint64>
required
Required range: x >= 0
mmp_interval
integer<uint64>
required
Required range: x >= 0
subaccount_id
integer<uint64>
required
Required range: x >= 0