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

    Interface ApiPerpetualsVaultOwnerWithdrawCollateralTxBody

    API body for withdrawing collateral from a vault as owner.

    interface ApiPerpetualsVaultOwnerWithdrawCollateralTxBody {
        lpWithdrawAmount: bigint;
        minCollateralAmountOut: bigint;
        recipientAddress?: string;
        txKind?: string;
        vaultId: string;
    }
    Index
    lpWithdrawAmount: bigint

    LP amount to redeem in the LP coin's smallest unit.

    minCollateralAmountOut: bigint

    Minimum collateral output in the collateral coin's smallest unit.

    recipientAddress?: string

    Optional recipient of the collateral coin.

    txKind?: string

    Optional serialized transaction kind to extend.

    vaultId: string

    Vault from which collateral is withdrawn.