@alphafi/alphalend-sdk - v1.1.5
    Preparing search index...

    Interface ClaimRewardsParams

    Parameters for claiming rewards accrued from lending or borrowing Used with the claimRewards method

    interface ClaimRewardsParams {
        address: string;
        claimAll?: boolean;
        claimAlpha?: boolean;
        claimAndDepositAll?: boolean;
        claimAndDepositAlpha?: boolean;
        positionCapId: string;
    }
    Index

    Properties

    address: string

    Address of the user supplying collateral

    claimAll?: boolean

    Whether to claim and deposit all rewards (except alpha)

    Use claimAndDepositAll instead.

    claimAlpha?: boolean

    Whether to claim and deposit alpha rewards

    Use claimAndDepositAlpha instead.

    claimAndDepositAll?: boolean

    Whether to deposit all rewards (except alpha)

    claimAndDepositAlpha?: boolean

    Whether to deposit alpha rewards

    positionCapId: string

    Object ID of the position capability object