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

    Interface SupplyParams

    Parameters for supplying assets as collateral to a lending market Used with the supply method

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

    Properties

    address: string

    Address of the user supplying collateral

    amount: bigint

    Amount to supply as collateral in base units (in mists)

    coinType: string

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

    marketId: string

    Market ID where collateral is being added

    positionCapId?: string

    Object ID of the position capability object