• Checks if the key-value pair exists in the datastore of the target address.

    Returns

    A boolean value indicating whether the key-value pair exists in the datastore or not.

    Throws

    • if the contract at the given address does not exist
    • [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

    • address: Address

      The child smart contract address.

    • key: T

      The key to check for existence in the datastore.

    Returns bool

Generated using TypeDoc