getFirstUse

fun getFirstUse(script: SatoshiScript, timeoutInMs: Int = requestTimeout): ElectrumClient.FirstUseResult
fun getFirstUse(scriptHash: String, timeoutInMs: Int = requestTimeout): ElectrumClient.FirstUseResult


fun getFirstUse(scriptHash: Hash256, timeoutInMs: Int = requestTimeout): ElectrumClient.FirstUseResult

Get confirmed and unconfirmed activity in a script

Return

array of (height, transaction hash) pairs

Parameters

scriptHash

the SHA256 hash of the relevant script

timeoutInMs

(optional) Override the default request timeout