aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Interface ApiRewardsGetHistoryBody

    Request body for fetching a user's rewards history. Uses a pre-signed message (bytes + signature) for authentication.

    interface ApiRewardsGetHistoryBody {
        bytes: string;
        cursor?: number;
        domain?: string;
        limit?: number;
        signature: string;
        walletAddress: string;
    }
    Index
    bytes: string

    The message bytes (base64 encoded) that the user previously signed. Can be reused from other signed messages (e.g., Terms and Conditions).

    cursor?: number

    Cursor for fetching next page.

    domain?: string

    Optional domain filter (e.g., "referrals", "perpetuals"). If omitted, returns all domains.

    limit?: number

    Maximum number of entries to return. Default: 20, max: 100.

    signature: string

    The signature corresponding to the signed message bytes.

    walletAddress: string

    Sui wallet address to query history for.