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

    Interface ClaimAndSupplyOrRepayParams

    Parameters for claiming rewards, repaying borrowed coins, and supplying the rest Used with the claimAndSupplyOrRepay method

    interface ClaimAndSupplyOrRepayParams {
        address: string;
        borrowedCoins: Map<string, MarketInfo>;
        positionCapId: string;
        priceUpdateCoinTypes: string[];
        supplyMarkets?: Map<string, MarketInfo>;
    }
    Index

    Properties

    address: string

    Address of the user claiming rewards

    borrowedCoins: Map<string, MarketInfo>

    Map of borrowed coin types to their market info

    positionCapId: string

    Object ID of the position capability object

    priceUpdateCoinTypes: string[]

    Coin types for price updates

    supplyMarkets?: Map<string, MarketInfo>

    Map of coin types to supply markets for leftover coins after repay