BuyBack
Welcome to the BuyBack API documentation for the GraphQL Main API. This section provides details about the BuyBack related queries available in BlockBet platform.
Overview​
The BuyBack API provides information about token buyback operations, burns, and liquidity additions performed by the platform. These operations are an essential part of the tokenomics strategy of BlockBet.
BuyBack Types​
The BuyBack system tracks three types of operations:
- BUY_BACK: Tokens purchased back from the market
- BURN: Tokens that have been burned (permanently removed from circulation)
- LIQUIDITY_ADD: Tokens added to liquidity pools
Common Use Cases​
Common use cases for the BuyBack API include:
- Displaying transaction history of token buybacks
- Showing token burn records for transparency
- Tracking the platform's liquidity additions
- Providing tokenomics analytics data
Authentication​
Authentication is handled automatically via HTTP cookies, with the system managing both accessToken and refreshToken. No additional authentication is required for accessing these endpoints.
Pagination​
All BuyBack queries support pagination to efficiently retrieve large datasets. The pagination parameters include:
- limit: Maximum number of records to return
- offset: Number of records to skip
- order: Sort order (ASC or DESC)
- orderBy: Field to order by (default is CREATED_AT)
Security Considerations​
The BuyBack API is read-only and doesn't allow modifications to the records. All data returned is considered public information.