Matthew specifies that Judas was paid thirty pieces of silver to hand Jesus over. The coins are not merely a generic reference to money; the specified amount becomes part of Matthew's narrative and later reappears when Judas returns the payment.
The amount also participates in Matthew's scriptural framing of the betrayal.