Skip to main content
Version: 0.13.0

tx.txbuilder.calculatefees

Home > @blaze-cardano/tx > TxBuilder > calculateFees

TxBuilder.calculateFees() method

Calculates the transaction fees based on the transaction size and parameters. It updates the transaction body with the calculated fee.

Signature:

protected calculateFees(): void;

Returns:

void