Yes. Both average and top wages matter.
As do the club finances and wage budget: if you have a large surplus, players (and especially agents) can and will demand ridiculous wages. In other words... the richer you are, the more you'll have to pay for wages. :/