Skip to content

types/transaction

@algorandfoundation/algokit-utils / types/transaction

Table of contents

Interfaces

Type Aliases

Type Aliases

Arc2TransactionNote

Ƭ Arc2TransactionNote: { dAppName: string ; data: string ; format: "m" | "b" | "u" } | { dAppName: string ; data: TransactionNoteData ; format: "j" }

ARC-0002 compatible transaction note components https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0002.md

Defined in

src/types/transaction.ts:16


SendSingleTransactionResult

Ƭ SendSingleTransactionResult: Expand<SendAtomicTransactionComposerResults & ConfirmedTransactionResult>

Result from sending a single transaction.

Defined in

src/types/transaction.ts:50


SendTransactionFrom

Ƭ SendTransactionFrom: Account | SigningAccount | LogicSigAccount | MultisigAccount | TransactionSignerAccount

Core account abstraction when signing/sending transactions

This type is used across the entire AlgoKit Utils library and allows you to pass through many types of accounts, including:

  • Account - The in-built algosdk.Account type for mnemonic accounts
  • SigningAccount - An AlgoKit Utils class that wraps Account to provide support for rekeyed accounts
  • LogicSigAccount - The in-built algosdk.LogicSigAccount type for logic signatures
  • MultisigAccount - An AlgoKit Utils class that wraps a multisig account and provides mechanisms to get a multisig account
  • TransactionSignerAccount - An AlgoKit Utils class that wraps the in-built algosdk.TransactionSigner along with the sender address

Defined in

src/types/transaction.ts:108


TransactionNote

Ƭ TransactionNote: Uint8Array | TransactionNoteData | Arc2TransactionNote

Defined in

src/types/transaction.ts:12


TransactionNoteData

Ƭ TransactionNoteData: string | null | undefined | number | any[] | Record<string, any>

Defined in

src/types/transaction.ts:14