'Five greenbacks' is indeed five dollar-bills, but the term is old-fashioned now, and only occurs in old detective novels.
Coins are generally just 'change' or 'small change' (which can also refer to a considerable amount of money when used by a rich man).