def script_hex_to_address( script_hex, blockchain='bitcoin', **blockchain_opts):
    """
    High-level API call (meant to be blockchain agnostic)
    Examine a script (hex-encoded) and extract an address.
    Return the address on success
    Return None on error
    """
    if blockchain == 'bitcoin':
        return btc_script_hex_to_address(script_hex, **blockchain_opts)
    else:
        raise ValueError("Unknown blockchain '{}'".format(blockchain))