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
readonlyappId:Application
Defined in: packages/algo-ts/src/transactions.ts:286
ApplicationID from ApplicationCall transaction
approvalProgram
readonlyapprovalProgram:bytes
Defined in: packages/algo-ts/src/transactions.ts:306
Approval program
clearStateProgram
readonlyclearStateProgram:bytes
Defined in: packages/algo-ts/src/transactions.ts:311
Clear State program
createdApp
readonlycreatedApp:Application
Defined in: packages/algo-ts/src/transactions.ts:366
ApplicationID allocated by the creation of an application
extraProgramPages
readonlyextraProgramPages: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
readonlyfee:uint64
Defined in: packages/algo-ts/src/transactions.ts:44
microalgos
Inherited from
firstValid
readonlyfirstValid:uint64
Defined in: packages/algo-ts/src/transactions.ts:49
round number
Inherited from
firstValidTime
readonlyfirstValidTime: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
readonlyglobalNumBytes:uint64
Defined in: packages/algo-ts/src/transactions.ts:331
Number of global state byteslices in ApplicationCall
globalNumUint
readonlyglobalNumUint:uint64
Defined in: packages/algo-ts/src/transactions.ts:326
Number of global state integers in ApplicationCall
groupIndex
readonlygroupIndex: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
lastLog
readonlylastLog:bytes
Defined in: packages/algo-ts/src/transactions.ts:351
The last message emitted. Empty bytes if none were emitted. Application mode only
lastValid
readonlylastValid:uint64
Defined in: packages/algo-ts/src/transactions.ts:59
round number
Inherited from
lease
readonlylease:bytes
Defined in: packages/algo-ts/src/transactions.ts:69
32 byte lease value
Inherited from
localNumBytes
readonlylocalNumBytes:uint64
Defined in: packages/algo-ts/src/transactions.ts:341
Number of local state byteslices in ApplicationCall
localNumUint
readonlylocalNumUint:uint64
Defined in: packages/algo-ts/src/transactions.ts:336
Number of local state integers in ApplicationCall
note
readonlynote:bytes
Defined in: packages/algo-ts/src/transactions.ts:64
Any data up to 1024 bytes
Inherited from
numAccounts
readonlynumAccounts:uint64
Defined in: packages/algo-ts/src/transactions.ts:301
Number of ApplicationArgs
numAppArgs
readonlynumAppArgs:uint64
Defined in: packages/algo-ts/src/transactions.ts:296
Number of ApplicationArgs
numApprovalProgramPages
readonlynumApprovalProgramPages:uint64
Defined in: packages/algo-ts/src/transactions.ts:371
Number of Approval Program pages
numApps
readonlynumApps:uint64
Defined in: packages/algo-ts/src/transactions.ts:321
Number of Applications
numAssets
readonlynumAssets:uint64
Defined in: packages/algo-ts/src/transactions.ts:316
Number of Assets
numClearStateProgramPages
readonlynumClearStateProgramPages:uint64
Defined in: packages/algo-ts/src/transactions.ts:376
Number of Clear State Program pages
numLogs
readonlynumLogs:uint64
Defined in: packages/algo-ts/src/transactions.ts:361
Number of logs
onCompletion
readonlyonCompletion:OnCompleteActionStr
Defined in: packages/algo-ts/src/transactions.ts:291
ApplicationCall transaction on completion action
rekeyTo
readonlyrekeyTo:Account
Defined in: packages/algo-ts/src/transactions.ts:90
32 byte Sender’s new AuthAddr
Inherited from
sender
readonlysender:Account
Defined in: packages/algo-ts/src/transactions.ts:39
32 byte address
Inherited from
txnId
readonlytxnId:bytes
Defined in: packages/algo-ts/src/transactions.ts:85
The computed ID for this transaction. 32 bytes.
Inherited from
type
readonlytype:ApplicationCall
Defined in: packages/algo-ts/src/transactions.ts:411
Transaction type as integer
typeBytes
readonlytypeBytes:bytes
Defined in: packages/algo-ts/src/transactions.ts:74
Transaction type as bytes
Inherited from
Methods
accounts()
accounts(
index):Account
Defined in: packages/algo-ts/src/transactions.ts:387
Accounts listed in the ApplicationCall transaction
Parameters
index
Returns
appArgs()
appArgs(
index):bytes
Defined in: packages/algo-ts/src/transactions.ts:382
Arguments passed to the application in the ApplicationCall transaction
Parameters
index
Returns
approvalProgramPages()
approvalProgramPages(
index):bytes
Defined in: packages/algo-ts/src/transactions.ts:402
Approval Program as an array of pages
Parameters
index
Returns
apps()
apps(
index):Application
Defined in: packages/algo-ts/src/transactions.ts:397
Foreign Apps listed in the ApplicationCall transaction
Parameters
index
Returns
assets()
assets(
index):Asset
Defined in: packages/algo-ts/src/transactions.ts:392
Foreign Assets listed in the ApplicationCall transaction
Parameters
index
Returns
clearStateProgramPages()
clearStateProgramPages(
index):bytes
Defined in: packages/algo-ts/src/transactions.ts:407
Clear State Program as an array of pages
Parameters
index
Returns
logs()
logs(
index):bytes
Defined in: packages/algo-ts/src/transactions.ts:356
Log messages emitted by an application call