Native Script Type¶
-
enum cardano_native_script_type_t¶
The native script type.
This enumeration defines the types of native scripts that can be used in Cardano.
Values:
-
enumerator CARDANO_NATIVE_SCRIPT_TYPE_REQUIRE_PUBKEY¶
The script requires a specific signature.
-
enumerator CARDANO_NATIVE_SCRIPT_TYPE_REQUIRE_ALL_OF¶
The script requires all sub-scripts to evaluate to true.
-
enumerator CARDANO_NATIVE_SCRIPT_TYPE_REQUIRE_ANY_OF¶
The script requires any one of the sub-scripts to evaluate to true.
-
enumerator CARDANO_NATIVE_SCRIPT_TYPE_REQUIRE_N_OF_K¶
The script requires at least N of the sub-scripts to evaluate to true.
-
enumerator CARDANO_NATIVE_SCRIPT_TYPE_INVALID_BEFORE¶
The script requires that the current slot is greater than or equal to a specified start time.
-
enumerator CARDANO_NATIVE_SCRIPT_TYPE_INVALID_AFTER¶
The script requires that the current slot is less than a specified expiry time.
-
enumerator CARDANO_NATIVE_SCRIPT_TYPE_REQUIRE_PUBKEY¶