Wayne Gretzky of the Coyotes has agreed to give a deposition. ((Dave Sandford/Getty Images))

Phoenix Coyotes minority owner and head coach Wayne Gretzky will give a deposition in the team's bankruptcy case.

Gretzky, 48, reached an agreement Thursday with the City of Glendale, Ariz., where the Coyotes play, on the confidentiality of the deposition and the sharing of documents.

NHL commissioner Gary Bettman and deputy commissioner Bill Daly will give depositions next week in New York.

The date and location of Gretzky's legal discovery have yet to be determined.  

Gretzky had registered with the Phoenix court to take part in the proceedings in a bid to protect the $9.3 million US he claims to be owed by the team.

Gretzky's lawyer, Jonathan Ibsen, had been trying to block a motion issued by the City of Glendale, located just west of Phoenix, to open the Hall of Famer's tax record to public scrutiny.

Coyotes majority owner Jerry Moyes formally filed for Chapter 11 bankruptcy protection on May 5.

Moyes claims to have lost in excess of $200 million US in equity and $100 million US in debt since buying the Coyotes with Steve Ellman for $90 million US in 2001.

According to the Forbes Magazine, the Coyotes are worth an estimated $142 million US — the lowest-valued team in the NHL.

With files from The Canadian Press