encodeTransactionNote
encodeTransactionNote(
note?):Uint8Array<ArrayBufferLike> |undefined
Defined in: algokit-utils-ts/src/transaction/transaction.ts:57
Parameters
Section titled “Parameters”The transaction note
Returns
Section titled “Returns”Uint8Array<ArrayBufferLike> | undefined
the transaction note ready for inclusion in a transaction
Case on the value of data this either be:
null|undefined:undefinedstring: The string value- Uint8Array: passthrough
- Arc2TransactionNote object: ARC-0002 compatible transaction note
- Else: The object/value converted into a JSON string representation