Carroll moved to Anfield from Chelsea in January 2011 for £35m, but he struggled to settle and find form before leaving on loan.
The England striker has since rediscovered his form in Sam Allardyce's side, scoring six goals. Now the former Newcastle United forward has revealed that he would sign for the Hammers, but doesn't know what the situation is currently.
"I have just got to wait and see, really. We'll see what happens at the end of the season," said Carroll.
"Obviously I don't know what is happening so we will just have to wait and see. It has been great here and every minute has been fantastic. The lads have been great, the gaffer has been great and the fans are unbelievable.
"We will have to wait and see. It is obviously a great club and I do not see why not."
Carroll signed a season-long loan deal in August.