import base58

def address_to_hex(address):
	try:
		hex_address = base58.b58decode(address).hex()[2:-4]
	except:
		print("Unexpected error:", sys.exc_info()[0])
		raise


4491302fa3746cd7e18257ae08aa093acccfea5f
<mask token>

<mask token>


def address_to_hex(address):
    try:
        hex_address = base58.b58decode(address).hex()[2:-4]
    except:
        print('Unexpected error:', sys.exc_info()[0])
        raise

import base58


def address_to_hex(address):
    try:
        hex_address = base58.b58decode(address).hex()[2:-4]
    except:
        print('Unexpected error:', sys.exc_info()[0])
        raise

import base58

def address_to_hex(address):
	try:
		hex_address = base58.b58decode(address).hex()[2:-4]
	except:
		print("Unexpected error:", sys.exc_info()[0])
		raise

