Calculate Minimum Fee
cardano_transaction_calculate_min_feeCalculate the minimum fee in lovelace for a Cardano transaction using the transaction body file and protocol parameters, with an optional witness count.
Instructions
Calculate the minimum fee for a transaction.
Args:
tx_body_file (string): Path to the transaction body file
witness_count (number, optional): Number of witnesses (default: 1)
protocol_params_file (string): Path to protocol parameters JSON file
Returns: The minimum fee in lovelace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx_body_file | Yes | Path to the transaction body file | |
| witness_count | No | Number of witnesses | |
| protocol_params_file | Yes | Path to protocol parameters JSON file |