Module plutus_ledger_api::plutus_data
source · Expand description
Plutus Data related types and traits
Enums§
- Data representation of on-chain data such as Datums and Redeemers
Traits§
Functions§
- Deserialise a Plutus data using parsers for each variant
- Given a PlutusData, parse it as PlutusData::Constr and its tag as u32. Return the u32 tag and fields.
- Given a PlutusData, parse it as PlutusData::Constr and verify its tag.
- Given a vector of PlutusData, parse it as an array whose length is known at compile time.
- Verify the number of fields contained in a PlutusData::Constr