AppCallTxn
Extends
AppOnChainTransactionParams.Required<AppParams>
Constructors
new AppCallTxn(params)
new AppCallTxn(
params):AppCallTxn
Parameters
• params: AppParams
Returns
Inherited from
AppOnChainTransactionParams.constructor
Source
Properties
accounts
accounts:
Address[]
Inherited from
Required.accounts
Source
applicationArgs
applicationArgs:
BytesLike[]
Inherited from
Required.applicationArgs
Source
applicationID
applicationID:
AppID
The application that was called
Inherited from
AppOnChainTransactionParams.applicationID
Source
applications
applications:
AppID[]
Inherited from
Required.applications
Source
approvalProgram
Inherited from
Required.approvalProgram
Source
assets
assets:
AssetID[]
Inherited from
Required.assets
Source
clearStateProgram
Inherited from
Required.clearStateProgram
Source
createdApplicationID
createdApplicationID:
AppID
The application created by this application call
Inherited from
AppOnChainTransactionParams.createdApplicationID
Source
createdAssetID
createdAssetID:
AssetID
The asset created by this application call
Inherited from
AppOnChainTransactionParams.createdAssetID
Source
extraProgramPages
extraProgramPages:
uint64
Inherited from
Required.extraProgramPages
Source
fee
fee:
uint64
The fee paid for this transaction
Inherited from
AppOnChainTransactionParams.fee
Source
globalNumByteSlice
globalNumByteSlice:
uint64
Inherited from
Required.globalNumByteSlice
Source
globalNumUint
globalNumUint:
uint64
Inherited from
Required.globalNumUint
Source
groupIndex
groupIndex:
uint64
The index of this transaction in its group
Inherited from
AppOnChainTransactionParams.groupIndex
Source
lastLog
lastLog:
Brand<string,"bytes">
The last log emitted by this application call
Inherited from
AppOnChainTransactionParams.lastLog
Source
loadScratch
loadScratch: (
slot) =>unknown
Load the value in the given scratch slot. MUST use an as expression to specify the value type.
Parameters
• slot: uint64
Returns
unknown
Example
someAppCall.loadScratch(0) as uint64;Inherited from
AppOnChainTransactionParams.loadScratch
Source
localNumByteSlice
localNumByteSlice:
uint64
Inherited from
Required.localNumByteSlice
Source
localNumUint
localNumUint:
uint64
Inherited from
Required.localNumUint
Source
note
note:
string
The note field for this transaction
Inherited from
AppOnChainTransactionParams.note
Source
numAccounts
numAccounts:
uint64
The number of accounts in the foreign accounts array
Inherited from
AppOnChainTransactionParams.numAccounts
Source
numAppArgs
numAppArgs:
uint64
The number of application arguments
Inherited from
AppOnChainTransactionParams.numAppArgs
Source
numApplicatons
numApplicatons:
uint64
The number of applications in the foreign applications array
Inherited from
AppOnChainTransactionParams.numApplicatons
Source
numApprovalProgrammPages
numApprovalProgrammPages:
uint64
The number of pages used by the approval program
Inherited from
AppOnChainTransactionParams.numApprovalProgrammPages
Source
numAssets
numAssets:
uint64
The number of assets in the foreign assets array
Inherited from
AppOnChainTransactionParams.numAssets
Source
numClearStateProgramPages
numClearStateProgramPages:
uint64
The number of pages used by the clear state program
Inherited from
AppOnChainTransactionParams.numClearStateProgramPages
Source
numLogs
numLogs:
uint64
The number of logs emitted by this application call
Inherited from
AppOnChainTransactionParams.numLogs
Source
onCompletion
onCompletion:
OnCompletion
Inherited from
Required.onCompletion
Source
rekeyTo
rekeyTo:
Address
If set, changes the authAddr of sender to the given address
Inherited from
AppOnChainTransactionParams.rekeyTo
Source
sender
sender:
Address
The sender of this transaction. This is the account that pays the fee (if non-zero)
Inherited from
AppOnChainTransactionParams.sender
Source
txID
txID:
string
The transaction ID for this transaction
Inherited from
AppOnChainTransactionParams.txID