1
vote
How to get transaction info of a public key hash in a plutus smart contract?
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 ...
1
vote
Accepted
Filter for utxos that was send from a specific public key address
Assuming each UTxO at the script address has a datum that contains the PubKeyHash you can compare against, then you can use the above code like so:
data UTxODatum = UTxODatum
{ pubKey :: !...
Only top scored, non community-wiki answers of a minimum length are eligible