The dollar traded at a six-month high against the Japanese yen on Tuesday amid expectations that the US Federal Reserve will continue hiking interest rates for longer and a deadlock in debt ceiling talks.