/**
 * Shared transaction types for Perps deposits and withdrawals
 * Provides a unified structure while maintaining separate use cases
 */
/**
 * Type guard to check if a transaction result is a TransactionRecord
 *
 * @param result - The transaction result to check.
 * @returns True if the result is a TransactionRecord with id and status fields.
 */
export function isTransactionRecord(result) {
    return 'id' in result && 'status' in result;
}
/**
 * Type guard to check if a transaction result is a LastTransactionResult
 *
 * @param result - The transaction result to check.
 * @returns True if the result is a LastTransactionResult without id or status fields.
 */
export function isLastTransactionResult(result) {
    return !('id' in result) || !('status' in result);
}
//# sourceMappingURL=transactionTypes.mjs.map