Skip to main content
POST
private/get_interest_history

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

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