plutus_ledger_api::plutus_data

Function parse_list

Source
pub fn parse_list(
    data: &PlutusData,
) -> Result<&Vec<PlutusData>, PlutusDataError>
Expand description

Given a PlutusData, parse it as PlutusData::List. Return the plutus data list.

This function is used by the derive macro.