- Get account info: This endpoint allows users to get all high-level account info such as balance, fee level, equity, etc.
- Get account settings: This endpoint allows users to get account margin and leverage settings (if they are not at default values)
- Update leverage: This endpoint allows users to change their account leverage for a specific trading pair. For open positions, users can only increase the leverage setting.
- Update margin mode: This endpoint allows users to switch between isolated and cross margin modes for a specific trading pair. For open positions, users cannot change the margin mode.
- Get positions: This endpoint allows users to get current positions.
- Get trade history: This endpoint allows users to get trade history
- Get funding history: This endpoint allows users to get funding history.
- Get account equity history: This endpoint allows users to get account equity and PnL history (over time).
- Get account balance history: This endpoint allows users to get account balance history. Returns all balance effects that affect the queried account.
- Request withdrawal: This endpoint allows users to request withdrawal.
- Get account loan info: This endpoint returns loan and collateral information for a given account under unified margin.
- Add isolated margin: This endpoint allows users to add margin to an isolated position.
- Update spot settings: This endpoint allows users to update spot asset settings for unified margin.
- Toggle auto-lending: This endpoint allows users to enable or disable automatic lending.
- Get spot balance history: This endpoint allows users to get spot asset balance history.
- Withdraw spot asset: This endpoint allows users to withdraw a spot asset.
- Get pending spot withdrawals: This endpoint returns pending spot asset withdrawals.
- Get spot deposit history: This endpoint returns spot asset deposit history.
- Get spot withdrawal history: This endpoint returns spot asset withdrawal history.
Account
Account
This section covers details for interacting with user accounts on Pacifica.