Skip to content

ApplicationTxn

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / index / gtxn / ApplicationTxn

Interface: ApplicationTxn

Defined in: packages/algo-ts/src/gtxn.ts:51

Extends

Constructors

Properties

appId

readonly appId: Application

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

ApplicationID from ApplicationCall transaction

Inherited from

ApplicationTxn.appId


approvalProgram

readonly approvalProgram: bytes

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

Approval program

Inherited from

ApplicationTxn.approvalProgram


clearStateProgram

readonly clearStateProgram: bytes

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

Clear State program

Inherited from

ApplicationTxn.clearStateProgram


createdApp

readonly createdApp: Application

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

ApplicationID allocated by the creation of an application

Inherited from

ApplicationTxn.createdApp


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.

Inherited from

ApplicationTxn.extraProgramPages


fee

readonly fee: uint64

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

microalgos

Inherited from

ApplicationTxn.fee


firstValid

readonly firstValid: uint64

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

round number

Inherited from

ApplicationTxn.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

ApplicationTxn.firstValidTime


globalNumBytes

readonly globalNumBytes: uint64

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

Number of global state byteslices in ApplicationCall

Inherited from

ApplicationTxn.globalNumBytes


globalNumUint

readonly globalNumUint: uint64

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

Number of global state integers in ApplicationCall

Inherited from

ApplicationTxn.globalNumUint


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

ApplicationTxn.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

Inherited from

ApplicationTxn.lastLog


lastValid

readonly lastValid: uint64

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

round number

Inherited from

ApplicationTxn.lastValid


lease

readonly lease: bytes

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

32 byte lease value

Inherited from

ApplicationTxn.lease


localNumBytes

readonly localNumBytes: uint64

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

Number of local state byteslices in ApplicationCall

Inherited from

ApplicationTxn.localNumBytes


localNumUint

readonly localNumUint: uint64

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

Number of local state integers in ApplicationCall

Inherited from

ApplicationTxn.localNumUint


note

readonly note: bytes

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

Any data up to 1024 bytes

Inherited from

ApplicationTxn.note


numAccounts

readonly numAccounts: uint64

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

Number of ApplicationArgs

Inherited from

ApplicationTxn.numAccounts


numAppArgs

readonly numAppArgs: uint64

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

Number of ApplicationArgs

Inherited from

ApplicationTxn.numAppArgs


numApprovalProgramPages

readonly numApprovalProgramPages: uint64

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

Number of Approval Program pages

Inherited from

ApplicationTxn.numApprovalProgramPages


numApps

readonly numApps: uint64

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

Number of Applications

Inherited from

ApplicationTxn.numApps


numAssets

readonly numAssets: uint64

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

Number of Assets

Inherited from

ApplicationTxn.numAssets


numClearStateProgramPages

readonly numClearStateProgramPages: uint64

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

Number of Clear State Program pages

Inherited from

ApplicationTxn.numClearStateProgramPages


numLogs

readonly numLogs: uint64

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

Number of logs

Inherited from

ApplicationTxn.numLogs


onCompletion

readonly onCompletion: OnCompleteActionStr

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

ApplicationCall transaction on completion action

Inherited from

ApplicationTxn.onCompletion


rekeyTo

readonly rekeyTo: Account

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

32 byte Sender’s new AuthAddr

Inherited from

ApplicationTxn.rekeyTo


sender

readonly sender: Account

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

32 byte address

Inherited from

ApplicationTxn.sender


txnId

readonly txnId: bytes

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

The computed ID for this transaction. 32 bytes.

Inherited from

ApplicationTxn.txnId


type

readonly type: ApplicationCall

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

Transaction type as integer

Inherited from

ApplicationTxn.type


typeBytes

readonly typeBytes: bytes

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

Transaction type as bytes

Inherited from

ApplicationTxn.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

Inherited from

ApplicationTxn.accounts


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

Inherited from

ApplicationTxn.appArgs


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

Inherited from

ApplicationTxn.approvalProgramPages


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

Inherited from

ApplicationTxn.apps


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

Inherited from

ApplicationTxn.assets


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

Inherited from

ApplicationTxn.clearStateProgramPages


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

Inherited from

ApplicationTxn.logs