def get_owned_ids(connection, owner):
    """Retrieve a list of `txids` that can we used has inputs.

    Args:
        owner (str): base58 encoded public key.

    Returns:
        Iterator of (block_id, transaction) for transactions
        that list given owner in conditions.
    """
    raise NotImplementedError
Retrieve a list of `txids` that can we used has inputs.

Args:
owner (str): base58 encoded public key.

Returns:
Iterator of (block_id, transaction) for transactions
that list given owner in conditions.
bigchaindb/backend/query.py