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

    Interface RepayParams

    Parameters for repaying borrowed assets to a lending market Used with the repay method

    interface RepayParams {
        address: string;
        amount: bigint;
        coinType: string;
        marketId: string;
        positionCapId: string;
    }
    Index

    Properties

    address: string

    Address of the user repaying the debt

    amount: bigint

    Amount to repay in base units (in mists)

    coinType: string

    Repay coin type (e.g., "0x2::sui::SUI")

    marketId: string

    Market ID where the debt exists

    positionCapId: string

    Object ID of the position capability object