He gave of gold by weight for things of gold, for all
instruments of all manner of service
Whatever was to be made of gold, David was directed by the Spirit of God what weight or quantity of gold should be made use of in making it, as appears from some following instances: silver also
for all instruments of silver by weight, for all instruments of every
kind of service;
so likewise whatever instruments or vessels, for the service of the temple, were to be made of silver, he had a direction from the Spirit of God what weight each was to be of, or what quantity of silver was to be used in it, and this he gave; according to Jacob Jehudah Leon F19, the vessels of gold were 340,000, the vessels of silver 470,000, in all 810,000.
F19 Relation of Memorable Things in the Tabernacle and Temple, ch. 4. p. 19.