private/get_withdrawal_history
Changed onReturns settled withdrawals for a single subaccount or an entire wallet (specify exactly one), optionally bounded by a start/end timestamp window. Each entry reports the withdrawn amount as a decimal, the fee routed to the security module (the net amount sent to the recipient is amount minus fee), and the resolved settlement batch and status.
Request
- Base URLhttps://api.derive.xyz/v3
- AuthAPI key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature
Request body
Parameters for private/get_withdrawal_history. Matches get_deposit_history: 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 withdrawals. Results are capped at 1000 rows.
End of the window, unix milliseconds (default: unbounded / now).
Start of the window, unix milliseconds (default 0).
Response
Success
Changes
- info
the endpoint scheme security
DeriveWallet AND DeriveTimestamp AND DeriveSignaturewas added to the API - info
added the media type
application/jsonfor the response with the status
- info