calculateReferenceScriptFee(refScripts, params): number
Calculates the fee for reference scripts in the transaction.
This method iterates through the reference inputs, finds the corresponding UTXOs,
and calculates the fee based on the size of the Plutus scripts referenced.
Calculates the fee for reference scripts in the transaction. This method iterates through the reference inputs, finds the corresponding UTXOs, and calculates the fee based on the size of the Plutus scripts referenced.
The fee calculation follows a tiered approach where the base fee increases for each range of script size, as defined in the protocol parameters. See https://github.com/CardanoSolutions/ogmios/releases/tag/v6.5.0