<p>Generating a new protocol parameters file just dumps the node's current parameters into a JSON format. Since the parameters are not constantly changing, <strong>generating a new params file each time is not strictly necessary</strong> - you can reuse it. However, if the parameters do change (as the did just now at the E319 boundary), then your fee calculation <em>might</em> be impacted if you use an outdated file.</p>
<p>Personally, I like to generate a new params file every epoch - this can be easily automated with <code>cron</code>.</p>

CC BY-SA 4.0
2022-02-09T18:42:49.553Z
Thank you for that, that sounds like a good approach. Every 5 days you regenerate the protocol parameters, right?
Zefex Developer
CC BY-SA 4.0
2022-02-09T19:30:36.097Z
Yessir, only if I need to submit a transaction though.
zhekson
CC BY-SA 4.0
2022-02-07T21:56:14.443Z
2022-02-07T21:56:14.443Z
zhekson
<p>I'm wondering, do I need to always generate a new protocols parameters JSON file when generating the min transaction fee?</p>
<p>I have a few transactions to make and I really don't like to be creating a new protocol parameters file before calculating the min fee. Is there a better approach for that?</p>

<cardano-cli><fee>
Protocol parameters file to calculate min fee
# Protocol parameters file to calculate min fee

(Asked by: username_0 on 2022-02-07)

I'm wondering, do I need to always generate a new protocols parameters JSON file when generating the min transaction fee?

I have a few transactions to make and I really don't like to be creating a new protocol parameters file before calculating the min fee. Is there a better approach for that?

**Tags:** cardano-cli, fee

---

## 1 answers

### Answer by username_1 on 2022-02-07. Score: 3 | Accepted answer

Generating a new protocol parameters file just dumps the node's current parameters into a JSON format. Since the parameters are not constantly changing, **generating a new params file each time is not strictly necessary** - you can reuse it. However, if the parameters do change (as the did just now at the E319 boundary), then your fee calculation *might* be impacted if you use an outdated file.

Personally, I like to generate a new params file every epoch - this can be easily automated with `cron`.

> **Comments:**
> **username_0**: Thank you for that, that sounds like a good approach. Every 5 days you regenerate the protocol parameters, right?  
> **username_1**: Yessir, only if I need to submit a transaction though.  

---

