I don't see any way to use IO in Contract and I don't see any functions for getting a POSIXTime from the things I can get within Contract.

1 Answer 1


there is a currentTime function in Plutus.Contract.Request with the signature

currentTime :: forall w s e. AsContractError e => Contract w s e POSIXTime

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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