Functionsยง
- bytes_
to_ hex_ string - Convert a byte array into a hex string
- felt_
to_ bytes32 - Convert a
FieldElementinto aFixedBytes<32> - fixed_
bytes_ str_ to_ utf8_ str - Convert a
FixedBytes<32>which originally encoded from utf8 string into original utf8 string value - hex_
string_ to_ bytes - Convert a hex string into a byte array
- hex_
string_ to_ uint - Convert a hex string into integer
- last_
byte_ to_ u8 - Get the last byte of a byte array as a u8
- tx_
index_ to_ tx_ key - Convert a transaction index to a transaction key
- utf8_
str_ to_ fixed_ bytes32 - Convert a utf8 string into
FixedBytes<32>by padding zero bytes to the end