def balance_from_utxos(utxos):
    """Return balance of a list of utxo.

    Args:
        utxos: A list of utxo with following format.
                   [{
                       txid: ''
                       value: 0,
                       vout: 0,
                       scriptPubKey: '',
                    }]

    Returns: A balance sum of value
             value.
    """
    balance = 0
    if utxos:
        balance = sum(utxo['value'] for utxo in utxos)
    return balance