• Appends the given value to the existing value associated with the given key of the current contract.

    Throws

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

    Type Parameters

    • T

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

    Parameters

    • key: T

      The key whose data the value will be appended to.

    • value: T

      The data that will be appended to the existing data associated with the key.

    Returns void

Generated using TypeDoc