def store_data(key, data):
    """
    Stores data on the blockchain

    :param key: The key to use for the transaction
    :param data: The data to store
    :returns: The completed transaction's ID
    """
    transaction_data = [(data, 'utf-8')]
    return key.send_op_return(transaction_data)['data']['txid']
