pub fn delete<I, E>(delete_input: I) -> ExternResult<ActionHash>
Expand description
General function that can delete any entry type.
This is used under the hood by delete_entry
, delete_cap_grant
and delete_cap_claim
.
The host builds a Delete
action for the passed entry and commits a new record to the chain.
Usually you don’t need to use this function directly; it is the most general way to delete an entry and standardizes the internals of higher level delete functions.