def coin_sources_for_address(bitcoin_address):
    URL = "https://blockchain.info/unspent?active=%s&format=json" % (bitcoin_address)
    result = urlfetch.fetch(URL)
    if result.status_code != 200:
      return []
    r = json.loads(result.content)
    coins_sources = []
    for unspent_output in r["unspent_outputs"]:
        tx_out = TxOut(unspent_output["value"], binascii.unhexlify(unspent_output["script"].encode()))
        coins_source = (binascii.unhexlify(unspent_output["tx_hash"].encode()), unspent_output["tx_output_n"], tx_out)
        coins_sources.append(coins_source)
    return coins_sources
Set admin ip for single interface if it not setted yet.
dataset/ETHPy150Open maraoz/proofofexistence/pycoin/services/blockchain_info.py/coin_sources_for_address--crossover with--dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/base.py/EnvironmentManager.set_admin_ip_for_for_single_interface