Look up a transaction by hash.

Synopsis

Declared in <index/txindex.h>

std::optional<TxIndexResult>
FindTx(Txid const& tx_hash) const;

Return Value

the transaction and containing block hash, or nullopt if it is not found

Parameters

Name

Description

tx_hash [in]

The hash of the transaction to be returned.

Created with MrDocs