Mt. Gox, the Japanese bitcoin exchange that halted trading last month, filed for bankruptcy protection in the U.S. to prevent customers from targeting the cash it holds in U.S. bank accounts.

At a hearing in federal bankruptcy court in Dallas on Monday, a judge granted a request by the company that temporarily blocks a potential class-action lawsuit filed in Illinois by the exchange's customers.

Mt....