Skip to content

encodeTransactionNote

encodeTransactionNote(note?): Uint8Array<ArrayBufferLike> | undefined

Defined in: algokit-utils-ts/src/transaction/transaction.ts:57

TransactionNote

The transaction note

Uint8Array<ArrayBufferLike> | undefined

the transaction note ready for inclusion in a transaction

Case on the value of data this either be:

  • null | undefined: undefined
  • string: The string value
  • Uint8Array: passthrough
  • Arc2TransactionNote object: ARC-0002 compatible transaction note
  • Else: The object/value converted into a JSON string representation