Trainspotting filmmaker Danny Boyle appears to have confirmed that he is writing and directing the 25th Bond film, ending months of speculation.

Asked by Metro US at a New York screening of his new FX show Trust on Wednesday night if he had landed the job, Boyle apparently responded ‘in the affirmative’.

“We are working on a script right now,” he added. “And it all depends on that really. I am working on a Richard Curtis script at the moment. We hope to start shooting that in 6 or 7 weeks. Then Bond would be right at the end of the year. But we are working on them both right now.”

Boyle’s frequent collaborator John Hodge is co-writing the screenplay – which is centred around a “great idea”, Boyle says – the pair having previously worked together on Trainspotting, T2: Trainspotting and The Beach.

The Oscar winner will take over from Skyfall and Spectre director Sam Mendes, with Daniel Craig playing 007 for what is expected to be the last time.

All manner of directors’ names have been rumoured for the job over the past year, including Christopher Nolan who was in talks for it but ultimately counted himself out.

Boyle has amassed an eclectic filmography, from 28 Days Later to Slumdog Millionaire, from 127 Hours to Steve Jobs, and will no doubt take the franchise in a new direction.