ApplicationCallTxn
Algorand TypeScript / gtxn / gtxn / ApplicationCallTxn
Defined in: gtxn.ts:637
A group transaction of type ‘appl’
Properties
Section titled “Properties”
readonlyappId:Application
Defined in: gtxn.ts:472
ApplicationID from ApplicationCall transaction
approvalProgram
Section titled “approvalProgram”
readonlyapprovalProgram:bytes
Defined in: gtxn.ts:488
The first page of the Approval program
clearStateProgram
Section titled “clearStateProgram”
readonlyclearStateProgram:bytes
Defined in: gtxn.ts:492
The first page of the Clear State program
createdApp
Section titled “createdApp”
readonlycreatedApp:Application
Defined in: gtxn.ts:571
The id of the created application
extraProgramPages
Section titled “extraProgramPages”
readonlyextraProgramPages:uint64
Defined in: gtxn.ts:520
Number of additional pages for each of the application’s approval and clear state program
readonlyfee:uint64
Defined in: gtxn.ts:427
microalgos
firstValid
Section titled “firstValid”
readonlyfirstValid:uint64
Defined in: gtxn.ts:431
round number
firstValidTime
Section titled “firstValidTime”
readonlyfirstValidTime:uint64
Defined in: gtxn.ts:435
UNIX timestamp of block before txn.FirstValid. Fails if negative
globalNumBytes
Section titled “globalNumBytes”
readonlyglobalNumBytes:uint64
Defined in: gtxn.ts:508
Number of global state byteslices this application makes use of.
globalNumUint
Section titled “globalNumUint”
readonlyglobalNumUint:uint64
Defined in: gtxn.ts:504
Number of global state integers this application makes use of.
groupIndex
Section titled “groupIndex”
readonlygroupIndex:uint64
Defined in: gtxn.ts:460
Position of this transaction within an atomic group A stand-alone transaction is implicitly element 0 in a group of 1
lastLog
Section titled “lastLog”
readonlylastLog:bytes
Defined in: gtxn.ts:524
The last message emitted. Empty bytes if none were emitted. App mode only
lastValid
Section titled “lastValid”
readonlylastValid:uint64
Defined in: gtxn.ts:439
round number
readonlylease:bytes<32>
Defined in: gtxn.ts:447
32 byte lease value
localNumBytes
Section titled “localNumBytes”
readonlylocalNumBytes:uint64
Defined in: gtxn.ts:516
Number of local state byteslices this application makes use of.
localNumUint
Section titled “localNumUint”
readonlylocalNumUint:uint64
Defined in: gtxn.ts:512
Number of local state integers this application makes use of.
readonlynote:bytes
Defined in: gtxn.ts:443
Any data up to 1024 bytes
numAccounts
Section titled “numAccounts”
readonlynumAccounts:uint64
Defined in: gtxn.ts:484
Number of ApplicationArgs
numAppArgs
Section titled “numAppArgs”
readonlynumAppArgs:uint64
Defined in: gtxn.ts:480
Number of ApplicationArgs
numApprovalProgramPages
Section titled “numApprovalProgramPages”
readonlynumApprovalProgramPages:uint64
Defined in: gtxn.ts:533
Number of Approval Program pages
numApps
Section titled “numApps”
readonlynumApps:uint64
Defined in: gtxn.ts:500
Number of Applications
numAssets
Section titled “numAssets”
readonlynumAssets:uint64
Defined in: gtxn.ts:496
Number of Assets
numClearStateProgramPages
Section titled “numClearStateProgramPages”
readonlynumClearStateProgramPages:uint64
Defined in: gtxn.ts:542
Number of Clear State Program pages
numLogs
Section titled “numLogs”
readonlynumLogs:uint64
Defined in: gtxn.ts:575
Number of logs
onCompletion
Section titled “onCompletion”
readonlyonCompletion:OnCompleteAction
Defined in: gtxn.ts:476
ApplicationCall transaction on completion action
rejectVersion
Section titled “rejectVersion”
readonlyrejectVersion:uint64
Defined in: gtxn.ts:579
Application version for which the txn must reject
rekeyTo
Section titled “rekeyTo”
readonlyrekeyTo:Account
Defined in: gtxn.ts:468
32 byte Sender’s new AuthAddr
sender
Section titled “sender”
readonlysender:Account
Defined in: gtxn.ts:423
32 byte address
readonlytxnId:bytes<32>
Defined in: gtxn.ts:464
The computed ID for this transaction. 32 bytes.
readonlytype:ApplicationCall
Defined in: gtxn.ts:455
Transaction type
typeBytes
Section titled “typeBytes”
readonlytypeBytes:bytes
Defined in: gtxn.ts:451
Transaction type as bytes
Methods
Section titled “Methods”accounts()
Section titled “accounts()”accounts(
index):Account
Defined in: gtxn.ts:557
Accounts listed in the ApplicationCall transaction
Parameters
Section titled “Parameters”Index of the account to get
Returns
Section titled “Returns”appArgs()
Section titled “appArgs()”appArgs(
index):bytes
Defined in: gtxn.ts:552
Arguments passed to the application in the ApplicationCall transaction
Parameters
Section titled “Parameters”Index of the arg to get
Returns
Section titled “Returns”approvalProgramPages()
Section titled “approvalProgramPages()”approvalProgramPages(
index):bytes
Defined in: gtxn.ts:538
All approval program pages
Parameters
Section titled “Parameters”Index of the page to get
Returns
Section titled “Returns”apps()
Section titled “apps()”apps(
index):Application
Defined in: gtxn.ts:567
Foreign Apps listed in the ApplicationCall transaction
Parameters
Section titled “Parameters”Index of the application to get
Returns
Section titled “Returns”assets()
Section titled “assets()”assets(
index):Asset
Defined in: gtxn.ts:562
Foreign Assets listed in the ApplicationCall transaction
Parameters
Section titled “Parameters”Index of the asset to get
Returns
Section titled “Returns”clearStateProgramPages()
Section titled “clearStateProgramPages()”clearStateProgramPages(
index):bytes
Defined in: gtxn.ts:547
All clear state program pages
Parameters
Section titled “Parameters”Index of the page to get
Returns
Section titled “Returns”logs()
Section titled “logs()”logs(
index):bytes
Defined in: gtxn.ts:529
Read application logs
Parameters
Section titled “Parameters”Index of the log to get