Skip to content

创建文章

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

Types transaction

@algorandfoundation/algokit-utils / types/transaction

Module: 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:15


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 AlgoKitUtils class that wraps the in-built algosdk.TransactionSigner along with the sender address

Defined in

src/types/transaction.ts:100


TransactionNote

Ƭ TransactionNote: Uint8Array | TransactionNoteData | Arc2TransactionNote

Defined in

src/types/transaction.ts:11


TransactionNoteData

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

Defined in

src/types/transaction.ts:13