Trader
Get user collateral history
Handles GET /v1/users/{user_pubkey}/collateral-history via get.v1.users.by_user_pubkey.collateral_history.
get/v1/users/{user_pubkey}/collateral-history
Request
- Base URLhttps://perp-api.phoenix.trade
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_pubkeystring required
Query parameters
limitinteger required
Number of items to return (max 1000)
nextCursorstring
Cursor for older events (base64-encoded).
prevCursorstring
Cursor for newer events (base64-encoded).
cursorstring
Deprecated cursor parameter (older events).
Response
Changes
No recorded changes to this operation across all 2 revisions of this API.