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

    Interface ApiPerpetualsWithdrawCollateralBody

    Request body for withdrawing collateral from an account.

    interface ApiPerpetualsWithdrawCollateralBody {
        accountId: bigint;
        recipientAddress?: string;
        sponsor?: PerpetualsSponsorConfig;
        txKind?: string;
        withdrawAmount: bigint;
    }
    Index
    accountId: bigint

    Perpetuals account from which collateral is withdrawn.

    recipientAddress?: string

    Optional recipient. The account owner is used when omitted.

    Optional cached gas-pool sponsorship data.

    txKind?: string

    Optional serialized transaction kind to extend.

    withdrawAmount: bigint

    Withdrawal amount in the collateral coin's smallest unit.