Get interest history for a subaccount
Returns realized interest settlements per subaccount, for a single subaccount or an entire wallet (specify exactly one), optionally bounded by a start/end timestamp window. Each entry gives the settled interest as a decimal, where a negative value was paid (borrowed) and a positive value was received (supplied).
Body
Parameters for private/get_interest_history. wallet, when set, takes precedence over subaccount_id and returns the whole wallet's settlements. [start_timestamp, end_timestamp] is a unix-millisecond window. Results are capped at 1000 rows, newest first.
End of the window, unix milliseconds (default: now / unbounded).
x >= 0Start of the window, unix milliseconds (default 0).
x >= 0x >= 0Response
Success
Related topics
Get deposit history for a subaccountGet withdrawal history for a subaccountGet perpetual funding history for a subaccount