Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.sportsxapp.com/llms.txt

Use this file to discover all available pages before exploring further.

3 operations.

account

Query — returns Account. Account Information Example
result = client.account(selections=Selection(...))

close_account

Mutation — returns SelfStatusChangeResult. GraphQL field: closeAccount Close a user’s account. This requires that the user has no positions in any market, and has withdrawn all funds. Closed accounts cannot be reversed. Parameters
NameTypeRequiredDescription
passwordstrNoUser’s password to close the account
Example
result = client.close_account(params={"password": ...}, selections=Selection(...))

loyalty_history

Query — returns list[TransactionHistory]. GraphQL field: loyaltyHistory List of all loyalty related transactions for the account Parameters
NameTypeRequiredDescription
paginationPagination (dict — see below)No
pagination accepts a dict with these keys (pass as params={"pagination": {...}}):
FieldTypeRequiredDescription
pageintYesThe page of result where each page has limit values. Integer >= 0
limitintYesThe limit of values per page. Integer value greater than 0.
Example
result = client.loyalty_history(params={"pagination": ...}, selections=Selection(...))