Skip to content

ApplicationTxn

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / index / <internal> / ApplicationTxn

Interface: ApplicationTxn

Defined in: packages/algo-ts/src/transactions.ts:282

Extends

Extended by

Properties

appId

readonly appId: Application

Defined in: packages/algo-ts/src/transactions.ts:286

ApplicationID from ApplicationCall transaction


approvalProgram

readonly approvalProgram: bytes

Defined in: packages/algo-ts/src/transactions.ts:306

Approval program


clearStateProgram

readonly clearStateProgram: bytes

Defined in: packages/algo-ts/src/transactions.ts:311

Clear State program


createdApp

readonly createdApp: Application

Defined in: packages/algo-ts/src/transactions.ts:366

ApplicationID allocated by the creation of an application


extraProgramPages

readonly extraProgramPages: uint64

Defined in: packages/algo-ts/src/transactions.ts:346

Number of additional pages for each of the application’s approval and clear state programs. An ExtraProgramPages of 1 means 2048 more total bytes, or 1024 for each program.


fee

readonly fee: uint64

Defined in: packages/algo-ts/src/transactions.ts:44

microalgos

Inherited from

TransactionBase.fee


firstValid

readonly firstValid: uint64

Defined in: packages/algo-ts/src/transactions.ts:49

round number

Inherited from

TransactionBase.firstValid


firstValidTime

readonly firstValidTime: uint64

Defined in: packages/algo-ts/src/transactions.ts:54

UNIX timestamp of block before txn.FirstValid. Fails if negative

Inherited from

TransactionBase.firstValidTime


globalNumBytes

readonly globalNumBytes: uint64

Defined in: packages/algo-ts/src/transactions.ts:331

Number of global state byteslices in ApplicationCall


globalNumUint

readonly globalNumUint: uint64

Defined in: packages/algo-ts/src/transactions.ts:326

Number of global state integers in ApplicationCall


groupIndex

readonly groupIndex: uint64

Defined in: packages/algo-ts/src/transactions.ts:80

Position of this transaction within an atomic group A stand-alone transaction is implicitly element 0 in a group of 1

Inherited from

TransactionBase.groupIndex


lastLog

readonly lastLog: bytes

Defined in: packages/algo-ts/src/transactions.ts:351

The last message emitted. Empty bytes if none were emitted. Application mode only


lastValid

readonly lastValid: uint64

Defined in: packages/algo-ts/src/transactions.ts:59

round number

Inherited from

TransactionBase.lastValid


lease

readonly lease: bytes

Defined in: packages/algo-ts/src/transactions.ts:69

32 byte lease value

Inherited from

TransactionBase.lease


localNumBytes

readonly localNumBytes: uint64

Defined in: packages/algo-ts/src/transactions.ts:341

Number of local state byteslices in ApplicationCall


localNumUint

readonly localNumUint: uint64

Defined in: packages/algo-ts/src/transactions.ts:336

Number of local state integers in ApplicationCall


note

readonly note: bytes

Defined in: packages/algo-ts/src/transactions.ts:64

Any data up to 1024 bytes

Inherited from

TransactionBase.note


numAccounts

readonly numAccounts: uint64

Defined in: packages/algo-ts/src/transactions.ts:301

Number of ApplicationArgs


numAppArgs

readonly numAppArgs: uint64

Defined in: packages/algo-ts/src/transactions.ts:296

Number of ApplicationArgs


numApprovalProgramPages

readonly numApprovalProgramPages: uint64

Defined in: packages/algo-ts/src/transactions.ts:371

Number of Approval Program pages


numApps

readonly numApps: uint64

Defined in: packages/algo-ts/src/transactions.ts:321

Number of Applications


numAssets

readonly numAssets: uint64

Defined in: packages/algo-ts/src/transactions.ts:316

Number of Assets


numClearStateProgramPages

readonly numClearStateProgramPages: uint64

Defined in: packages/algo-ts/src/transactions.ts:376

Number of Clear State Program pages


numLogs

readonly numLogs: uint64

Defined in: packages/algo-ts/src/transactions.ts:361

Number of logs


onCompletion

readonly onCompletion: OnCompleteActionStr

Defined in: packages/algo-ts/src/transactions.ts:291

ApplicationCall transaction on completion action


rekeyTo

readonly rekeyTo: Account

Defined in: packages/algo-ts/src/transactions.ts:90

32 byte Sender’s new AuthAddr

Inherited from

TransactionBase.rekeyTo


sender

readonly sender: Account

Defined in: packages/algo-ts/src/transactions.ts:39

32 byte address

Inherited from

TransactionBase.sender


txnId

readonly txnId: bytes

Defined in: packages/algo-ts/src/transactions.ts:85

The computed ID for this transaction. 32 bytes.

Inherited from

TransactionBase.txnId


type

readonly type: ApplicationCall

Defined in: packages/algo-ts/src/transactions.ts:411

Transaction type as integer


typeBytes

readonly typeBytes: bytes

Defined in: packages/algo-ts/src/transactions.ts:74

Transaction type as bytes

Inherited from

TransactionBase.typeBytes

Methods

accounts()

accounts(index): Account

Defined in: packages/algo-ts/src/transactions.ts:387

Accounts listed in the ApplicationCall transaction

Parameters

index

uint64

Returns

Account


appArgs()

appArgs(index): bytes

Defined in: packages/algo-ts/src/transactions.ts:382

Arguments passed to the application in the ApplicationCall transaction

Parameters

index

uint64

Returns

bytes


approvalProgramPages()

approvalProgramPages(index): bytes

Defined in: packages/algo-ts/src/transactions.ts:402

Approval Program as an array of pages

Parameters

index

uint64

Returns

bytes


apps()

apps(index): Application

Defined in: packages/algo-ts/src/transactions.ts:397

Foreign Apps listed in the ApplicationCall transaction

Parameters

index

uint64

Returns

Application


assets()

assets(index): Asset

Defined in: packages/algo-ts/src/transactions.ts:392

Foreign Assets listed in the ApplicationCall transaction

Parameters

index

uint64

Returns

Asset


clearStateProgramPages()

clearStateProgramPages(index): bytes

Defined in: packages/algo-ts/src/transactions.ts:407

Clear State Program as an array of pages

Parameters

index

uint64

Returns

bytes


logs()

logs(index): bytes

Defined in: packages/algo-ts/src/transactions.ts:356

Log messages emitted by an application call

Parameters

index

uint64

Returns

bytes