The opportunity cost of holding money is the nominal interest rate.
When individuals hold money (in cash or checking accounts), they forgo the potential interest they could earn if that money were invested or held in an interest-bearing account. Therefore, the nominal interest rate represents the cost of not investing that money.