2

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

2

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 and acknowledge you have read our privacy policy.

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