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

    Interface ApiPoolDepositBody

    Request body for depositing liquidity into a pool, specifying the amounts in, slippage, and optional referral or sponsorship data.

    interface ApiPoolDepositBody {
        amountsIn: CoinsToBalance;
        isSponsoredTx?: boolean;
        referrer?: string;
        slippage: number;
        walletAddress: string;
    }
    Index
    amountsIn: CoinsToBalance

    Input amounts keyed by coin type, each in that coin's smallest unit.

    isSponsoredTx?: boolean

    Whether coin selection is prepared for a sponsored transaction.

    referrer?: string

    An optional referrer address used to register the referral in the transaction.

    slippage: number

    The maximum change in the expected LP result accepted by the transaction. 0.01 is 1%.

    walletAddress: string

    The wallet that owns the deposit coins and receives the LP coin.