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

    Interface ApiPoolAllCoinWithdrawBody

    Request body for withdrawing all coin types from a pool using a single ratio or entire LP amount, simplifying the multi-coin approach.

    interface ApiPoolAllCoinWithdrawBody {
        lpCoinAmount: bigint;
        referrer?: string;
        walletAddress: string;
    }
    Index
    lpCoinAmount: bigint

    The LP amount to burn, in the LP coin's smallest unit.

    referrer?: string

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

    walletAddress: string

    The wallet that owns the LP coins and receives every pool coin.