Questions tagged [types]
The types tag has no usage guidance.
4
questions
0
votes
0
answers
79
views
Data from Mesh to Plutus
I created this datum with Mesh
const datumMD: Data = new Map<Data, Data>();
datumMD.set('name', assetName );
datumMD.set('question', input);
datumMD.set('answers', []);
datumMD.set('...
0
votes
1
answer
31
views
Convert ChainIndexTxOut to TxOutTx
I have this function that is expecting type TxOutTx, but it receives ChainIndexTxOut. I'm trying to convert to the type required but encountering issues
getTradeDatum o = case txOutDatum (txOutTxOut o)...
0
votes
2
answers
48
views
Type PaymentPubKeyHash not found
I have the following datum type
data ProjectSubmitDatum = ProjectSubmitDatum
{ vProjectOwner :: PaymentPubKeyHash,
vProjectRegistrationFee :: Integer,
vProjectCategory :: BuiltinByteString,
...
0
votes
1
answer
22
views
How can I issue an operational certificate using cardano-serialization-lib?
Cardano Serialization Lib has this class:
export class OperationalCert {
free(): void;
/**
* @returns {Uint8Array}
*/
to_bytes(): Uint8Array;
/**
* @param {Uint8Array} bytes
* @returns {...