calcTxHash

open fun calcTxHash(coinType: CoinType, encodedTx: String): String

Calculate the TX hash of a transaction.

Return

The TX hash of a transaction, If the input is invalid or the chain is unsupported, null is returned.

Parameters

coin

coin type.

encodedTx

encoded transaction data.