This question already has an answer here:
Lets say, I want to create a smart contract that can receive a record of data per hours, e.g. hourly rates of ETH/EUR. These data would be stored in an array.
What would each transaction cost me and how can I estimate these costs?