If the light client wants to determine the status of a transaction, it can simply ask for a Merkle proof showing that a particular transaction is in one of the Merkle trees whose root is in a block header for the main chain.
Please note that image is taken from reference 1.
Verification of a Merkle path proceed from the leaf node to the Merkle root.
As seen from the example image, we actually could not know that transaction-3 is located under that specific block and leaf-node since a light client only downloads the
[Q] How could we determine that a particular transaction in which block's Merkle tree and Merkle tree's which leaf node? In order to determine the status of that transaction should we iterate through all blocks in the blockchain until we find the specific transaction? And when we find its block number, how could be actually determine its leaf node.
Thank you for your valuable time and help.