に多額の金を

a large amount of money

→ に
phrase Rare #45,319
a large amount of money 多額の金 means “a large amount of money.” The particles に and を mark how it relates to the rest of the sentence; に can mark a recipient or purpose, and を marks it as the object of an action.
JA: 彼女はその大学に多額の金を寄付した。
EN: She donated a large amount of money to that university.

もちろん、全員が彼に多額の金を貸していたわけではないと、私はよくわかっていた。

Of course, I knew very well that not everyone had lent him a lot of money.

彼はその慈善団体に多額の金を寄付した。

He donated a large sum of money to the charity.