userTransactionHash

open fun userTransactionHash(transaction: UnsignedTransaction, senderAuthenticator: AccountAuthenticator, secondaryAuthenticators: List<AccountAuthenticator> = emptyList(), feePayerAuthenticator: AccountAuthenticator? = null): AptosResult<String>

Computes the canonical on-chain hash of an already authenticated user transaction without submitting it. Applications can persist this hash before the network write and reconcile the exact signed transaction after interruption.