x-app-api-key; x-app-id and a user token are not required. The {appId} in the path must
match the key’s app. A read key can access every user in that app.
First create a server API key. For a signed-in user’s activity
screen or the app leaderboard, follow Portfolio.
AggAdminClient provides methods for users, orders, analytics, and market-resolution holders.
Use admin.request() for the per-user reads below. Manage app members and settings in the
admin dashboard.
Users
Balances, positions, orders
id.
Deposits and withdrawals
amountRaw is an integer string in the token’s decimals.
Analytics and resolution
usersLast7Days, usersLast30Days,
ordersLast7Days, and ordersLast30Days cover the named rolling windows.