Get Hex Address "address"

To get a hex address for use in smart contracts from public key address, returns the hex address.

gethexaddress GXtN7L312NkdPgt20rYrGkSP2ggwkKbba9467c41cbd6qb736cf4724de25a298bc529bfa1

See fromhexaddress to convert a hex address to base58 pubkeyhash.