Encode the input string as hexadecimal with 0x prefix.
Syntax
evm_hex_encode(str)Parameters
str- Any string. String
Returned value
- Returns the 0x-prefixed hexadecimal encoding of the input.
Example
Query:
select evm_hex_encode('hello')Result:
| evm_hex_encode('hello') |
|---|
| 0x68656c6c6f |