How is Plutus on-chain code able to retrieve and decode datums from UTXOs of ScriptContext?

These datums are hardly found in cardano-db-sync or explorers anywhere?

1 Answer 1


Currently, only datum hashes are able to be a part of the UTXO, so you are only able to verify a datum value on chain. Retrieving the datum itself is therefore on off-chain process.

However CIP-32 is coming very soon (likely end of February/March) and will enable attaching the datum itself to a UTXO, rather than only the datum hash.

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.