Skip to main content
POST
Get deposit history for a subaccount

Body

application/json

Parameters for private/get_deposit_history. Takes subaccount_id plus an optional [start_timestamp, end_timestamp] window in unix milliseconds. wallet, when set, takes precedence over subaccount_id and returns the whole wallet's deposits. Results are capped at 1000 rows.

end_timestamp
integer<uint64> | null

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

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

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

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

Response

Success

deposits
object[]
required