Skip to main content

DeleteObject

Function DeleteObject 

Source
pub fn DeleteObject(key: &StorageKeyContractData) -> Result<(), SysErr>
Expand description

Deletes the object at the specified storage key.

ยงArguments

  • key

This is a convenience wrapper around uninit_DeleteObject that returns the result as SyscallResult<T>.