_get_proof
function _get_proof(gtx_transaction: gtx_transaction, require_anchored_proof: boolean): (tx_hash: byte_array, confirmation_proof: confirmation_proof, block_header: block_header)?(source)
Returns the confirmation_proof
corresponding to the given transaction if there is any present in current transaction. It also returns transaction hash and a decoded version of the block header in the proof.
Parameters
gtx_transaction
The transaction to check
require_anchored_proof
Whether or not we require inclusion of a proof that the block containing the transaction has been anchored in cluster anchoring chain