Skip to main content
Version: Next

sdk.txbuilder.calculatefees

Home > @blaze-cardano/sdk > 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