getTxHashAt

fun getTxHashAt(height: Int, idx: Int, blockMerkleRoot: Hash256? = null, timeoutInMs: Int = requestTimeout): Hash256

Get the transaction hash at the specified block height and offset.

Return

transaction hash

Parameters

height

The height of the block that contains the desired transaction

idx

The 0-based index of the transaction in the block

blockMerkleRoot

(optional) If provided, this API will request the merkle proof of this transaction and throw ElectrumIncorrectReply if the proof is incorrect

timeoutInMs

(optional) Override the default request timeout