I would like to have a contract that when it is triggered it parses the blockchain and checks for the existence of a certain transaction.
Is that feasible ? I browsed contract examples on the ethereum github but none seemed to fit this scenario. Expressions and functions like block.number and block.parenthash etc. seem static, referring to just the block that is current.
Any help would be greatly appreciated.
0 ·
Answers
This is not exactly what I had in mind (as the contract may not become aware of transactions originating from entities that are not aware of the contract), however I will try to see if it can work for the application I have in mind.