cURL
curl --request GET \ --url https://api.joyride.exchange/v1/admin/users \ --header 'Authorization: Bearer <token>'
[ { "user_id": "alice", "available": 9500000000, "locked": 500000000, "total_pnl": 250000 } ]
Returns all users with balances and realized P&L.
Admin token set via the ADMIN_TOKEN environment variable.
Array of users
"alice"
Available balance (USDC micros)
9500000000
Locked balance (USDC micros)
500000000
Realized P&L (USDC micros)
250000