verifyTxOutProof

fun verifyTxOutProof(proof: ByteArray): Pair<BlockHeader, List<Pair<ByteVector32, Int>>>

Verify a tx inclusion proof (a merkle proof that a set of transactions are included in a given block) Note that this method doesn't validate the header's proof of work.

Return

a (block header, matched tx ids and positions in the block) tuple

Parameters

proof

tx inclusion proof, in the format used by bitcoin core's 'verifytxoutproof' RPC call