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

    Interface ApiPerpetualsVaultCreateWithdrawRequestTxBody

    API body for creating a single withdraw request from a vault.

    interface ApiPerpetualsVaultCreateWithdrawRequestTxBody {
        lpWithdrawAmount: bigint;
        minCollateralAmountOut: bigint;
        sponsor?: PerpetualsSponsorConfig;
        txKind?: string;
        vaultId: string;
        walletAddress: string;
    }
    Index
    lpWithdrawAmount: bigint

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

    minCollateralAmountOut: bigint

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

    Optional cached gas-pool sponsorship data.

    txKind?: string

    Optional serialized transaction kind to extend.

    vaultId: string

    Vault from which LP tokens are withdrawn.

    walletAddress: string

    Wallet that owns the LP tokens.