History

private/get_deposit_history

Changed on

Returns settled deposits for a single subaccount or an entire wallet (specify exactly one), optionally bounded by a start/end timestamp window. Each entry reports the deposited amount as a decimal, the fee routed to the security module (the net credited amount is amount minus fee), and the resolved settlement batch and status. A deposit that could not reach its target is credited to the wallet's fallback subaccount instead: it reports is_fallback: true and the rejection that caused it in fallback_error_code, fallback_error_message and fallback_error_data.

post/private/get_deposit_history

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    API key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature

Request body

GetDepositHistoryRequest required

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 nullable

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

start_timestamp, integer nullable

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

subaccount_id, integer nullable
wallet, string nullable

Response

Success

DepositHistoryResult required
deposits, DepositEntry[] required

Changes

    • info

      the endpoint scheme security DeriveWallet AND DeriveTimestamp AND DeriveSignature was added to the API

    • info

      added the media type application/json for the response with the status