I'm trying to fix something (the cardanocli-js) that broke with this last update (1.31.0) but i don't know how to see the correct way that, in 1.31.0 version, the Cli make transactions (or find how much cost the fee). I didn't find the list of commands and their correct use..

I know that using help i can somewhat get it. But there is a more explanatory version somewhere?

thank you.

1 Answer 1


The only one I know is this:

Related to fee, first you need to build the transaction then you can use this command:

cardano-cli transaction calculate-min-fee \
  --tx-body-file transaction.raw \
  --tx-in-count 1 \
  --tx-out-count 1 \
  --witness-count 2 \
  --testnet-magic 1097911063 \
  --protocol-params-file protocol-params.json


--tx-body-file FILE Input filepath of the JSON TxBody.
--tx-in-count NATURAL The number of transaction inputs.
--tx-out-count NATURAL The number of transaction outputs.
--witness-count NATURAL The number of Shelley key witnesses.

There is a good explanation to calculate fees

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.