memoBytes
memoBytes(
memo,encoding?):Uint8Array
Defined in: wallet-tron/src/memo.ts:84
Bytes of a memo, from UTF-8 text or 0x hex.
Parameters
Section titled “Parameters”string
encoding?
Section titled “encoding?”MemoEncoding = 'utf8'
Returns
Section titled “Returns”Uint8Array
Throws
Section titled “Throws”UnsafeTransactionError memo for invalid hex.