aftermath-ts-sdk - v6.7.0
    Preparing search index...

    Type Alias ApiPerpetualsVaultPreviewOwnerProcessWithdrawRequestsResponse

    ApiPerpetualsVaultPreviewOwnerProcessWithdrawRequestsResponse:
        | { error: string }
        | {
            collateralPrice: number;
            userPreviews: {
                collateralAmountOut: Balance;
                error?: string;
                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;
              error?: string;
              userAddress: SuiAddress;
          }[];
      }
      • collateralPrice: number

        Collateral asset price used by the preview.

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

        Per-user withdrawal previews returned by the operation.