# DeleteEntry
DeleteEntry
is a structure that sets the paramaters of deletion of entry from the account data storage. Deleting an entry is performed only if the structure is included in the callable function result.
# Constructor
DeleteEntry(key: String)
# Fields
# | Name | Data type | Description |
---|---|---|---|
1 | key | String | Entry key. The maximum size is 400 bytes |
# Example
{-# STDLIB_VERSION 8 #-}
{-# SCRIPT_TYPE ACCOUNT #-}
@Callable(inv)
func default() = {
(
[
DeleteEntry(inv.caller.toString())
],
unit
)
}
Limitations on the total number of script actions are given in the Limitations article.