diff --git a/fuel-tx/src/builder.rs b/fuel-tx/src/builder.rs index ac51b58555..086e962dee 100644 --- a/fuel-tx/src/builder.rs +++ b/fuel-tx/src/builder.rs @@ -238,6 +238,11 @@ impl TransactionBuilder { self.params.chain_id() } + pub fn with_params(&mut self, params: ConsensusParameters) -> &mut Self { + self.params = params; + self + } + pub fn with_tx_params(&mut self, tx_params: TxParameters) -> &mut Self { self.params.tx_params = tx_params; self