Get User Stats
Retrieves statistical data for a user's Maker and Taker positions associated with a specified wallet address.
Method Declaration
Python
async def get_user_stats(
self,
address: str,
) -> stats_query.QueryUserStatsResponseParameters
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
user | query | Address | true | The wallet address that owns the account. |
Response
| Status | Meaning | Schema | Description |
|---|---|---|---|
200 | OK | UserStats | The response containing the user stats. |
400 | Bad Request | The request was malformed or invalid. |
Examples: Python | TypeScript | Rust | API