History

private/get_interest_history

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).

post/private/get_interest_history

Request

  • Base URL: https://api.derive.xyz/v3
  • URL: https://api.derive.xyz/v3/private/get_interest_history
  • Auth: none declared

Request body

end_timestampinteger nullable

End of the window, unix milliseconds (default: now / unbounded).

start_timestampinteger nullable

Start of the window, unix milliseconds (default 0).

subaccount_idinteger nullable
walletstring nullable

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.