diff --git a/packages/cardano-services-client/src/TxSubmitProvider/TxSubmitApiProvider.ts b/packages/cardano-services-client/src/TxSubmitProvider/TxSubmitApiProvider.ts index 0c4c90227b2..4e5db75acf3 100644 --- a/packages/cardano-services-client/src/TxSubmitProvider/TxSubmitApiProvider.ts +++ b/packages/cardano-services-client/src/TxSubmitProvider/TxSubmitApiProvider.ts @@ -42,7 +42,7 @@ export class TxSubmitApiProvider implements TxSubmitProvider { let txId: Cardano.TransactionId | undefined; try { - txId = Serialization.TransactionBody.fromCbor(signedTransaction).hash(); + txId = Serialization.Transaction.fromCbor(signedTransaction).getId(); this.#logger.debug(`Submitting tx ${txId} ...`);