Skip to main content
POST
Get interest history for a subaccount

Body

application/json

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_timestamp
integer<uint64> | null

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

Required range: x >= 0
start_timestamp
integer<uint64> | null

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

Required range: x >= 0
subaccount_id
integer<uint64> | null
Required range: x >= 0
wallet
string | null

Response

Success

events
object[]
required