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

    Type Alias ApiPerpetualsVaultPreviewOwnerProcessWithdrawRequestsResponse

    ApiPerpetualsVaultPreviewOwnerProcessWithdrawRequestsResponse:
        | { error: string }
        | {
            collateralPrice: number;
            userPreviews: { collateralAmountOut: Balance; userAddress: SuiAddress }[];
        }

    Response body for previewing normal withdraw requests processing.

    Type Declaration

    • { error: string }
      • error: string

        Error message returned when the operation cannot be completed.

    • {
          collateralPrice: number;
          userPreviews: { collateralAmountOut: Balance; userAddress: SuiAddress }[];
      }
      • collateralPrice: number

        Collateral asset price used by the preview.

      • userPreviews: { collateralAmountOut: Balance; userAddress: SuiAddress }[]

        Per-user withdrawal previews returned by the operation.