Skip to main content

Questions tagged [datum-value]

The tag has no usage guidance.

0 votes
2 answers
71 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
0 votes
1 answer
117 views

Attaching Datum Value with CSL 10.x

I generate my datum like so: // Build datum const sellerAddressPKH = changeAddressValue.slice(2,58); const datumFields = CSL.PlutusList.new(); datumFields.add(CSL.PlutusData.new_integer(CSL.BigInt....
Latheesan's user avatar
  • 131
1 vote
3 answers
283 views

Get Value of Datum from a UTXO

I currently have a utxo that i am getting like this. initalMatchPool <- Map.filter (findInitalAmount fundAddress) <$> utxosAt scrAddress How do i get the value of the datum attached to this ...
szhang9921's user avatar
1 vote
2 answers
360 views

How to provide Datum value using serialization lib

I am consuming a script output and also create a new one at the same script address. The validator script requires the output producer to provide the datum value due to making assertions on it. ...
Will's user avatar
  • 1,152
1 vote
0 answers
29 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
  • 383