Skip to content

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.QueryUserStatsResponse

Parameters

ParameterLocationTypeRequiredDescription
userqueryAddresstrueThe wallet address that owns the account.

Response

StatusMeaningSchemaDescription
200OKUserStatsThe response containing the user stats.
400Bad RequestThe request was malformed or invalid.

Examples: Python | TypeScript | Rust | API