Wallet Overview
Your wallet in VoxFi tracks your account balance, positions, and portfolio across all events and markets.API Endpoints
Get User Balance and Totals
Retrieves the account balance and totals for the authenticated user. Includes available balance, locked balances, total deposits and withdrawals, and P&L metrics (realized and unrealized profit/loss).Balance Example
Get Portfolio
Retrieves the portfolio with positions and P&L across all events or for a specific event. IfeventId is provided, returns portfolio only for that event. Otherwise, returns global portfolio across all events.
Detailed documentation + playground
Balance Components
Available Balance
The amount you can use for new trades. This is calculated as:Locked Balances
locked_waiting_orders: Funds reserved for open limit orders;locked_waiting_withdraw: Funds pending withdrawal;locked_audit: Funds temporarily locked for audit purposes.
P&L Tracking
- Realized P&L: Profit/loss from closed positions and settled contracts;
- Unrealized P&L: Current profit/loss of open positions based on market prices.
Use Cases
- Balance Monitoring: Track funds available for trading;
- Portfolio Analysis: Analyze positions and performance across all events;
- Risk Management: Monitor unrealized P&L and position sizes;
- Settlement Tracking: Track realized P&L from settled markets.

