Questions tagged [types]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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('...
Kavvadias's user avatar
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)...
NaeriKailash's user avatar
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, ...
szhang9921's user avatar
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 {...
Falcon Stakepool's user avatar