The method performs a lookup in the smart contract state database for the supplied smart contract address and key. The value associated with the given key, deserialized for the specified data type, is returned.
If the key does not exist or deserialization fails, the method returns the default value for the specified type.
Returns data response (may be unsuccessful)