Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 436 Bytes

File metadata and controls

31 lines (19 loc) · 436 Bytes

evm_hex_encode

Encode the input string as hexadecimal with 0x prefix.

Syntax

evm_hex_encode(str)

Parameters

Returned value

  • Returns the 0x-prefixed hexadecimal encoding of the input.

Example

Query:

select evm_hex_encode('hello')

Result:

evm_hex_encode('hello')
0x68656c6c6f