User
Get user positions (deprecated)
Deprecated: This endpoint is deprecated. Please use /api/v1/account_positions instead. This endpoint is maintained for backwards compatibility only.
get/api/v1/user_positions
Request
- Base URLhttps://api.mainnet.aptoslabs.com/decibel
- URLhttps://api.mainnet.aptoslabs.com/decibel/api/v1/user_positions
- AuthHTTP bearer
Query parameters
accountstring required
Account address (user query alias is also accepted)
limitinteger
Maximum number of positions to return
include_deletedboolean
Include deleted positions
market_addressstring
Filter by specific market address
Response
User positions retrieved successfully
Changes
No recorded changes to this operation across all 1 revision of this API.