Given a PubKeyHash (pkh) how can I get the history of that pkh's transactions from within a plutus smart contract?

2 Answers 2


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).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.