-
Converts a hex string to a integer.
iex> Web3.to_hex(10) "0xA" iex> Web3.to_hex("0xa") "0xa" iex> Web3.to_hex(true) "0x1"
-
Converts a integer to hex.
iex> Web3.to_hex(10) "0xA" iex> Web3.to_hex("0xa") "0xa" iex> Web3.to_hex(true) "0x1"
- Web3.is_address/1
- Web3.is_checksum_address/1
- Web3.to_wei/1
- Web3.from_wei/1
- Web3.keccak256/1
More details found here