Given a PubKeyHash (pkh) how can I get the history of that pkh's transactions from within a plutus smart contract?
2 Answers
Plutus only validates a pending transaction given a datum, redeemer and script context, which includes tx inputs. The only way you could potentially provide that kind of information is through the datum or maybe reference inputs.
Turns out plutus does not support this yet (if your reading this in the future it might be out of date -> please check the timestamp).