txid_from_root_hash: Get the transaction id from the root hash

View source: R/txid_from_root_hash.R

txid_from_root_hashR Documentation

Get the transaction id from the root hash

Description

This function is does not work anymore as the host used is not available anymore! It is only left in to demonstrate how it could be done.

Usage

txid_from_root_hash(root_hash)

Arguments

root_hash

root hash which has been submitted as OP_RETURN

Details

This only results in valid returns for timestamps after mif February 2021. These are storing the root hash in OP_RETURN and these can therefore be searched.

Value

a vector containing the transaction ids found. Usially only one

Examples

# txid_from_root_hash("bf6eec9f213846a53ed187d41d2b9ed2e954649a45d2883e5df6b107b2eb0b75")
# txid_from_root_hash("bf6eec9f213846a53ed187d41d2b9ed2e954649a45d2883e5dXXXXXXXXXXXXXX")
# txid_from_root_hash("love")


rkrug/ROriginStamp documentation built on Aug. 16, 2022, 5:45 p.m.