• Removes the key-value pair associated with the given key from the current contract's datastore.

    Throws

    • if the key does not exist in the datastore.
    • [compilation only] if the key type are neither string, StaticArray<u8>, or Args.

    Type Parameters

    • T

      Can be either string, Args, or StaticArray<u8>.

    Parameters

    • key: T

      The key to delete from the datastore.

    Returns void

Generated using TypeDoc