Questions tagged [datum-hash]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
39 views

How can Datum be decoded from utxos that were generated using MeshJs Marketplace Smart Contracts?

I have datum that was formed using the MeshJS Marketplace Smart Contract. Can someone help me with the process to decode the datum. I have tried various methods mentioned in their discord with no ...
xchris's user avatar
  • 1
0 votes
1 answer
86 views

What are the differences between different kinds of datums (datum, datumhash, inlineDatum, inlineDatumHash)?

I sent some ADA to a smart contract address with the non inline datum of "1234" and when i queried the utxo with cardano-cli, I got this result. "...
Jelil Akjaly's user avatar
3 votes
1 answer
79 views

Is function "isPayToScriptOut" unsafe?

As far as i understood, function "isPayToScriptOut" assumes every output that has a datum hash is a script output. But what if we create new output with datum, assigned to some pub key (for ...
Anastasia Martyniuk's user avatar
0 votes
2 answers
65 views

Providing a list of mappings from datum hashes to values while creating a transaction

I noticed that TxInfo datatype has a txInfoData field which carries a list of mappings from datum hashes to datum values. This seems very useful for validating transactions with multiple input UTxO's. ...
keyanm's user avatar
  • 76
1 vote
0 answers
28 views

what info is in datum value and how can we extract it

In the case for spend purposes e.g. Value: {"fields": [{"bytes": "10dc9481577ae0ac7a2b828bae9f2ba163b79ce73069d75fd609bc88"}, {"bytes": "a20a"}], &...
Hud's user avatar
  • 433