Skip to main content
POST
private/get_deposit_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_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